Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of y86 commands?

Tags:

assembly

y86

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?

like image 641
Eman Avatar asked Oct 24 '12 18:10

Eman


1 Answers

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.

like image 158
Eman Avatar answered Oct 15 '22 19:10

Eman