2024-01-14 04:26:58 +01:00
|
|
|
; .include "other/file.h65"
|
2023-12-27 16:56:10 +01:00
|
|
|
|
2024-01-11 20:51:45 +01:00
|
|
|
|
2024-01-14 04:26:58 +01:00
|
|
|
.segment "TEST"
|
|
|
|
; .proc my_subroutine
|
|
|
|
; pha
|
|
|
|
; bbr4 var1,@bit_4_set
|
|
|
|
; bit var1
|
|
|
|
; ; macro packs are supported
|
|
|
|
; jmi other_routine
|
|
|
|
; lda #'a'
|
|
|
|
; sta char
|
|
|
|
; bra @end
|
|
|
|
; @bit_4_set:
|
|
|
|
; ; custom macros can be highlighted
|
|
|
|
; Printf STR_FMT,char,var1
|
|
|
|
; @end:
|
|
|
|
; pla
|
|
|
|
; rts
|
|
|
|
; .endproc
|
2024-01-11 20:51:45 +01:00
|
|
|
|
2024-01-14 04:26:58 +01:00
|
|
|
; STR_FMT: .asciiz "%c: num=%x"
|