1 2 .INCLUDE ..FILE@.inc 3 4 .SECTION P,CODE,ALIGN 5 6 .ORG 100H 7 8 .GLB mem 9mem: 10 .word three, seven 11 12 ; mac1 r2 13 ; mac1 r3,r4 14 ; 15 ; mac2 16 ; 17 ; mac3 L,r0,H,[a0] 18 19 .MREPEAT 3 20 mov.l #..MACREP,r0 21 .ENDR 22 23 .ALIGN 24 25 .STK 2 26 bsr glbsub 27 bsr localsub 28 .STK -2 29 30 .IF TYPE==0 31 .byte "harry" 32 .ELIF TYPE>0 33 .byte "jim" 34 .ELSE 35 .byte "bert" 36 .ENDIF 37 38?: 39 bra ?+ 40 bra ?- 41?: 42 bra ?- 43 44 45 .SECTION D_1,DATA 46 .GLB dmem 47dmem: 48 size .EQU 2 49 50 .ADDR 1 51 .ADDR "dat" 52 .ADDR dmem+1 53 54 .BLKA 1 55 .BLKA size 56 57 .BLKB 1 58 .BLKB size 59 60 .BLKD 1 61 .BLKD size 62 63 .BLKF 1 64 .BLKF size 65 66 .BLKL 1 67 .BLKL size+1 68 69 .BLKW 1 70 .BLKW size 71 72 .BYTE 1 73 .BYTE "data" 74 .BYTE dmem+1 75 76 .DOUBLE 5e2 77 .FIXED 1.234 78 .FLOAT 5e2 79 80 .LWORD 1 81 .LWORD "two" 82 .LWORD 3+4 83 84 .WORD 3 85 86