?? portasm.h
字號:
;/** ###################################################################
;**
;** (c) Freescale Semiconductor
;** 2004 All Rights Reserved
;**
;**
;** (c) Copyright UNIS, spol. s r.o. 1997-2004
;** UNIS, spol. s r.o.
;** Jundrovska 33
;** 624 00 Brno
;** Czech Republic
;** http : www.processorexpert.com
;** mail : info@processorexpert.com
;** ###################################################################*/
; File: port.asm
;/*******************************************************
;* Conditional assembly
;*******************************************************/
;/* Change the following define to '0' to eliminate asserts */
define ASSERT_ON_INVALID_PARAMETER '1'
;/* For V1 compatibility */
define debug 'debughlt'
;/*
; These defines permit the same ASM source code to be
; used for Large and Small Memory Models
;*/
define PORT_LARGE_MEMORY_MODEL '1'
define CODEWARRIOR_WORKAROUND '0'
; IF @DEF(F__CW_M56800E_LMM)
; Small Memory Model defines
define LoadRx 'moveu.w'
define StoreRx 'move.w'
define TestRx 'tst.w'
define PTR_SIZE '1'
; endif
;/*******************************************************
;* Constants
;*******************************************************/
;/* Function Result Values */
PASS equ 0
FAIL equ -1
true equ 1
false equ 0
;/*******************************************************
;* Implementation Limits
;*******************************************************/
PORT_MAX_VECTOR_LEN equ 65535
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -