This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/share/CodeBlocks/lexers/lexer_A68k.sample

24 lines
625 B
Plaintext

include "kernel.h"
xdef _main
xdef _ti89 ; \author : 0xF01C0
Foo macro
move.w \1,\\@
bra.s \\@Plop
\\@: dc.w 0
endm
\\@Plop:
_main: movem.l d3-d7/a2-a6,-(sp)
move.w #~$12AB,d0 ; I don't know why I set this value...
move.l #-%1010,2(pc,a0.w) ; FIXME: It should crash ?
lea (a0),fp
jbsr \Push
dc.b "Hello world!",0
\Push: jsr tios::ST_helpMsg
addq.l #4,sp
movem.l (sp)+,d3-d7/a2-a6
move.b #'a',d0
rts