mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 01:50:38 +00:00
30 lines
439 B
ArmAsm
30 lines
439 B
ArmAsm
.macro one_sym count
|
|
.globl sym_1_\count
|
|
sym_1_\count:
|
|
la $2, sym_1_\count
|
|
.endm
|
|
|
|
|
|
.text
|
|
.globl func1
|
|
.ent func1
|
|
func1:
|
|
.frame $sp,0,$31
|
|
.set noreorder
|
|
.cpload $25
|
|
.set reorder
|
|
.cprestore 8
|
|
.set noreorder
|
|
|
|
.irp thou,0,1,2,3,4,5,6,7,8
|
|
.irp hund,0,1,2,3,4,5,6,7,8,9
|
|
.irp tens,0,1,2,3,4,5,6,7,8,9
|
|
.irp ones,0,1,2,3,4,5,6,7,8,9
|
|
one_sym \thou\hund\tens\ones
|
|
.endr
|
|
.endr
|
|
.endr
|
|
.endr
|
|
|
|
.end func1
|