Add instruction selection for arithmetic operations

This commit is contained in:
Laborratte 5 2025-05-17 17:19:17 +02:00
parent f7441e155a
commit bbacc928ae
Signed by: Laborratte5
GPG key ID: 3A30072E35202C02
2 changed files with 60 additions and 0 deletions

View file

@ -13,4 +13,5 @@ _main:
mov $1,%0
mov $2,%1
add %0,%1
mov %0,%eax
ret