blob: b419a5b1d622ba5de17d02c9825bc09a4006dad4 [file] [log] [blame] [edit]
-- asm
mov r0, 0
mov r1, 1
mov r2, 2
mov r3, 3
mov r4, 4
mov r5, 5
mov r6, 6
mov r7, 7
mov r8, 8
mov r9, 9
# r0 == 0
add r0, 23
add r0, r7
# r0 == 30
sub r0, 13
sub r0, r1
# r0 == 16
mul r0, 7
mul r0, r3
# r0 == 336
div r0, 2
div r0, r4
# r0 == 42
exit
-- result
0x2a