;=============================================================== ; XASM-REV option file ; Zilog Z80 series ;=============================================================== ; Specific source analysis mode ; You can select 3 type of mode (mixed selection available) ; /mode = macro ------ Structured Macro mode (GAIO oroginal macro) ; comment ---- Feature comment mode ; operation -- Mnimonic mode ;=============================================================== ;/mode=operation comment ;=============================================================== ; Module split mode ; /module = mcall --- Splits the module with called label within ; the file ; = mret ---- Splits the module with label after return ; mnimonic which is not called from others ;=============================================================== /module=mcall mret /csect = sect code ;=============================================================== ; Define section other than code (end of code section) ; This definition separates code section and other section ; /dsect=mnimonic operand.. ; Ex.)/dsect = sect data dumy stak ; /dsect = end ; /dsect = ends ; /dsect = dseg ; ; /dsect = .text ; ;=============================================================== /dsect=SECT COMM /dsect=END ;=============================================================== ; Define data directives (control branch label) ; For discriminate data label from branch label ; /data = assembler directives ; Ex.)/data = db ; /data = dw ; /data = ds ; /data = FLOAT ; /data = DFLOAT ; ;=============================================================== ;/data = ;=============================================================== ; Define global directives ; ; /global = mnimonic ;=============================================================== /global=global ;=============================================================== ; Specific branch label ; ; /label = Label statement style1 Label statement style2.. ; ; label1 --- Label name: (Label name: except equ..) ; label2 --- Label name equ * ; label3 --- Label name equ $ ; label4 --- Label name: equ * ; label5 --- Label name: equ $ ; label6 --- Label name (Recognize the first letter as label) ; ; Default style labe11, label2, label3 ;=============================================================== /label=label1 ;=============================================================== ; Splits the process ; Specific the split mode of assembly source to generated chart ; box. ; /proc = mode ; comment --- Splits the box with each comment ; step --- Splits the box with each mnimonic ; blank --- Splits the box with each blank in the source code ; mark --- Splits the box with the area specified with feature ; comment ". ; ;=============================================================== /proc=blank ;=============================================================== ; Define non-condition jump mnimonic ; ; /goto = mnimonic /status /delay = n ; ; Specific delay slot number to "n" ;=============================================================== /goto=jr /goto=jr.x ;=============================================================== ; Define condition jump mnimonic ; ; /gotoc = mnimonic condition operando condition information ; /delay = n ; ; Specific delay slot number to "n" ;=============================================================== /gotoc=jp nz /NE /gotoc=jp z /Z /gotoc=jp m /MI /gotoc=jp p /gotoc=jp mi /MI /gotoc=jp c /C /gotoc=jp nc /NC /gotoc=djnz ;=============================================================== ; Define sub-routine call mnimonic ; ; /call = "mnimonic" /status /delay = n ; ; Specific delay slot number to "n" ;=============================================================== ;/call = ;=============================================================== ; Define condition call mnimonic ; ; /callc = "mnimonic" "condition operand" "condition Info." ; /delay = n ; ; Specific delay slot number to "n" ;=============================================================== /call=call ;=============================================================== ; Define return mnimonic ; ; /return = mnimonic /status /delay = n ; ; Specific delay slot number(0 to 9) to "n" ;=============================================================== /return=ret ;=============================================================== ; Define operation (compare) with accumulator ; ; /compa = mnimonic accumulator /rev ; ; Changes the order between accumulator and operand with /rev ;=============================================================== /compa=cp a ;=============================================================== ; Define operation (compare) ; ; /comp = mnimonic /rev ; ; Changes the order between operand1 and operand2 with /rev ;=============================================================== /comp=add /comp=or