old code put back, now register handling is different again
actually old code never was removed, due to a misunderstanding about comment conventions.
This commit is contained in:
parent
f16fdf4e7f
commit
801226a45c
|
@ -2,16 +2,17 @@
|
||||||
.globl gto~
|
.globl gto~
|
||||||
|
|
||||||
gto~:
|
gto~:
|
||||||
; mov (sp)+,r4
|
mov (sp)+,r4
|
||||||
; mov 4(r4),r5
|
mov 4(r4),r5
|
||||||
; mov 2(r4),sp
|
mov 2(r4),sp
|
||||||
; jmp *(r4)
|
mov (r4),pc
|
||||||
|
/
|
||||||
mov (sp)+,r3
|
/ mov (sp)+,r3
|
||||||
1: cmp 4(r3),r5
|
/1: cmp 4(r3),r5
|
||||||
jeq 2f
|
/ jeq 2f
|
||||||
mov 2(r5),r4
|
/ mov 2(r5),r4
|
||||||
mov 4(r5),r2
|
/ mov 4(r5),r2
|
||||||
br 1b
|
/ mov (r5),r5
|
||||||
2: mov 2(r3),sp
|
/ br 1b
|
||||||
jmp *(r3)
|
/2: mov 2(r3),sp
|
||||||
|
/ jmp *(r3)
|
||||||
|
|
Loading…
Reference in a new issue