upper case test.asm

This commit is contained in:
2024-12-06 17:03:21 +01:00
parent bd07de84f9
commit 4bc49bb200

View File

@@ -1,21 +1,21 @@
operations:
add R1 R2 #1
sub R1 R2 R3
and R1 R2 #33
xor R1 R2 R3
or R1 R2 R3
sl R1 R2 R3
sr R1 R2 R3
mul R1 R2 R3
ADD R1 R2 #1
SUB R1 R2 R3
AND R1 R2 #33
XOR R1 R2 R3
OR R1 R2 R3
SL R1 R2 R3
SR R1 R2 R3
MUL R1 R2 R3
io:
str R1 R2 R3
ld R1 R2 R3
STR R1 R2 R3
LD R1 R2 R3
sauts:
jmp controle
jequ R1 R2 io
jneq R1 R2 sauts
jsup R1 R2 operations
jinf R1 R2 controle
JMP controle
JEQU R1 R2 io
JNEQ R1 R2 sauts
JSUP R1 R2 operations
JINF R1 R2 controle
controle:
call io
ret
CALL io
RET