doc: update with new vm instructions

This commit is contained in:
2024-12-15 22:37:05 +00:00
parent b67b861ecf
commit 3c05b362d7
2 changed files with 14 additions and 22 deletions

View File

@@ -155,16 +155,16 @@
ldr x1, [bp, #-2]
ldr x2, [pool, #4]
cmp x1, x2
b.eq L0001
c.eq x1, x2
br.t L0001
ldr x2, [pool, #5]
cmp x1, x2
b.eq L0002
c.eq x1, x2
br.t L0002
ldr x2, [pool, #6]
cmp x1, x2
b.eq L0003
c.eq x1, x2
br.t L0003
ldr x0, #0
str x0, [self, #1]
@@ -191,16 +191,16 @@ L0004:
ldr x1, [bp, #-1] ; x1 = units
ldr x2, [pool, #4] ; x2 = #years
cmp x1, x2
b.eq L0001 ; [jump] if units == #years
c.eq x1, x2
br.t L0001 ; [jump] if units == #years
ldr x2, [pool, #5] ; x2 = #months
cmp x1, x2
b.eq L0002 ; [jump] if units == #years
c.eq x1, x2
br.t L0002 ; [jump] if units == #years
ldr x2, [pool, #6] ; x2 = #days
cmp x1, x2
b.eq L0003 ; [jump] if units == #days
c.eq x1, x2
br.t L0003 ; [jump] if units == #days
ldr x0, #0 ; else
ret ; return 0