Files
Assembleur/test.asm
2024-10-22 16:42:28 +02:00

20 lines
256 B
NASM

operations:
add R1 R2 R3
sub R1 R2 #69
and R1 R2 R3
xor R1 R2 R3
or R1 R2 R3
sl R1 R2 R3
sr R1 R2 R3
io:
str R1 R2 R3
ld R1 R2 R3
sauts:
jmp operations
jequ R1 R2 io
jneq R1 R2 sauts
jsup R1 R2 operations
jinf R1 R2 io
controle:
call io
ret