add pseudo instructions test

This commit is contained in:
Freya Murphy 2024-10-09 12:08:15 -04:00
parent b663f82705
commit fafc54ab72
Signed by: freya
GPG key ID: 744AB800E383AE52
3 changed files with 26 additions and 0 deletions

25
test/masm/pseudo.asm Normal file
View file

@ -0,0 +1,25 @@
# Copyright (c) 2024 Freya Murphy
# file: pseudo.asm
# test: test pseudo dsl parser
.text
.align 2
.globl main
main:
li $t0, 0
li $t1, 1
ble $t0, $t1, less
nop
less:
beqz $t0, exit
nop
exit:
# return
slte $a0, $t0, $t1
jr $ra
nop

1
test/out/pesudo.status Normal file
View file

@ -0,0 +1 @@
0

0
test/out/pseudo Normal file
View file