mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-21 07:36:48 +08:00
9 lines
No EOL
175 B
ArmAsm
9 lines
No EOL
175 B
ArmAsm
// Assume value of a is in x0
|
|
// Assume value of b is in x1
|
|
cmp x0, x1
|
|
ble 1f
|
|
// CODE BLOCK IF TRUE
|
|
b 2f
|
|
1:
|
|
// CODE BLOCK IF FALSE
|
|
2: |