mads 1.9.9 build 23 (22 Jun 14) Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Reference-Symbols.asm 1 ; Reference source file for MADS symbols 2 3 org $2000 4 5 .macro m_macro 6 m_label1 7 lda #1 8 .endm 9 10 = 0001 equate1 = 1 11 = 0002 equate2 = equate1+1 12 13 FFFF> 2000-2004> A9 01 label1 lda #1 14 2002 85 80 label2 sta $80 15 16 17 // $FFF9 label for parameter in procedure defined by .PROC 18 // TODO: Missing in .lab file 19 2004 .proc parameter_procedure( .byte byte1 .word word1 ) .var 20 2004 .var inner_var .byte 21 = 2004 00 INNER_VAR 21 .endp 22 23 // $FFFA label for array defined by .ARRAY 24 // TODO: Actually results in $FFF8 instead in .lab file 25 2005 array1 .array 26 .enda 27 28 // $FFFB label for structured data defined by the pseudo-command DTA STRUCT_LABEL 29 2005 structure_data dta inner_structure [12] 30 31 // $FFFC label for SpartaDOS X symbol defined by SMB 32 // Actually results in $FFFB instead in .lab file 33 = 0000 smb_symbol smb 34 2039-2041> 4C 00 00 jmp SMB_symbol 35 36 // $FFFD label for macro defined by .MACRO directive 37 203C m_macro Macro: M_MACRO [Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Reference-Symbols.asm] 1 203C m_label1 2 203C A9 01 lda #1 Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Reference-Symbols.asm 38 39 // $FFFE label for structure defined by .STRUCT directive 40 .struct inner_structure 41 = 0000 x .word 42 = 0002 y .word 43 .ends 44 45 .struct outer_structure 46 structure inner_structure 47 .ends 48 49 50 // $FFFF label for procedure defined by .PROC directive 51 203E .local outer_local 52 203E .local inner_local 53 203E 00 .byte 0 54 .endl 55 203F 00 .byte 0 56 .endl 57 58 2040 .proc outer_procedure 59 2040 .proc inner_procedure 60 2040 60 rts 61 .endp 62 2041 60 rts 63 .endp 64