I am looking for a way to convert some code into it's y86 equivalent. The problem is I am having trouble finding a good list of y86 functions. I can find some functions but not a good list of the main functions available. Does anyone know where I could find such a list?
See Chapter 4: Processor Design (Preview) which is from Computer Systems: A Programmers Perspective1 which has a great reference of all of the available functions. You have to scroll down a ways to find the reference. But it is there.
The instructions listed are:
halt
nop
rrmovl
irmovl
rmmovl
mrmovl
OPl (integer operation)
addl
subl
andl
xorl
jXXX (branch condition)
jmp
jle
jl
je
jne
jge
jg
cmovXX (data transfer condition)
cmovle
cmovl
cmove
cmovne
cmovge
cmovg
call
ret
pushl
popl
1 This was authored by Randal E. Bryant and David R. O’Hallaron, who wrote an earlier paper that omitted the Data Transfer Conditional operators.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With