ST486DX ST Microelectronics, ST486DX Datasheet - Page 31

no-image

ST486DX

Manufacturer Part Number
ST486DX
Description
PROGRAMMING MANUAL
Manufacturer
ST Microelectronics
Datasheet
A.
The include file SMICAM.INC provides a complex set of macros which generate SMM opcodes
along with the appropriate mod/rm bytes. In order to function, the macros require that the labels
which are accessed correspond to the specified segment. Thus segment overrides must be passed to
the macro as an argument.
Do not specify a segment override if the default segment for an address is being used. If an address
size override is used, a final argument of ‘1’ must be passed to the macro as well. Address size
overrides must be presented explicitly to prevent the assembler from generating them automatically
and breaking the macros.
;SMM Instruction Macros - SMIMAC.INC
;Macros which generate mod/rm automatically
svdc
rsdc
svldt
rsldt
svts
rsts
rsm
;Sub-Macro used by the above macro
domac
ASSEMBLER MACROS FOR SGS-THOMSON INSTRUCTIONS
ST486DX - ASSEMBLER MACROS FOR SGS-THOMSON INSTRUCTIONS
MACRO
MACRO
MACRO
MACRO
MACRO
MACRO
MACRO
MACRO
domac
ENDM
domac
ENDM
domac
ENDM
domac
ENDM
domac
ENDM
domac
ENDM
db
ENDM
local
count
ifnb
endif
ifnb
count=count+1
< segover >
segover,addr,reg,adover
segover,addr,reg,adover,78h
reg,segover,addr,adover
segover,addr,reg,adover,79h
segover,addr,adover
segover,addr,es,adover,7ah
segover,addr,adover
segover,addr,es,adover,7bh
segover,addr,adover
segover,addr,es,adover,7ch
segover,addr,adover
segover,addr,es,adover,7dh
0fh,0aah
segover,addr,reg,adover,op
place1,place2,count
= 0
< adover >
45

Related parts for ST486DX