6502-OS/test.s65
2024-01-14 04:26:58 +01:00

23 lines
381 B
Plaintext

; .include "other/file.h65"
.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
; STR_FMT: .asciiz "%c: num=%x"