Appy/testsrc/fmt.s

28 lines
545 B
ArmAsm
Raw Normal View History

2022-07-04 00:50:56 +00:00
* formatting test
2022-07-04 12:10:56 +00:00
org $300 ; start
2022-07-04 00:50:56 +00:00
2022-07-04 12:10:56 +00:00
main nop
* what about this
2022-07-04 00:50:56 +00:00
2022-07-04 12:10:56 +00:00
; and this
2022-07-04 00:50:56 +00:00
2022-07-04 12:10:56 +00:00
sta :jo+1
2022-07-04 00:50:56 +00:00
2022-07-04 12:10:56 +00:00
:jo+1 lda $400
lda $400
rts
2022-07-04 00:50:56 +00:00
2022-07-04 12:10:56 +00:00
** 24 (bit) hex to 8 (nibble) / 4 byte BCD
** 24 (bit) hex to
HEXDEC mx %11
LDA #0 ; Ensure the result is clear
STA DEC8+0
STA DEC8+1
STA DEC8+2
STA DEC8+3
2022-07-04 00:50:56 +00:00
ReallyThisisaLoooooongLabelwith stal $e12000,y ; look at this long line
2022-07-09 01:48:28 +00:00
* TABS....
* $D5 $0008 sequence [Application Specific]