mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-19 04:12:46 +00:00
improve esil-manpage
This commit is contained in:
parent
d51f4fb346
commit
d34f19afe8
21
man/esil.7
21
man/esil.7
@ -9,9 +9,28 @@ ESIL aims to describe a Forth-like representation for every target CPU opcode se
|
||||
|
||||
Each command of an ESIL expression is separated by a comma
|
||||
|
||||
.IP <source>,<source>,<operation>
|
||||
.IP <source0>,<source1>,<operation>
|
||||
.IP <source>,<destination>,<operation>
|
||||
.IP <source_destination>,<operation>
|
||||
|
||||
.SH BASIC OPERATIONS
|
||||
|
||||
These operations should be enough to emulate most instructions of any architecture
|
||||
|
||||
.IP =
|
||||
sets the value of the destination to the value of the source
|
||||
.IP +
|
||||
adds the values of source0 and source1 and pushes the result on the esil stack
|
||||
.IP -
|
||||
subtracts the value of source0 from the value of source1 and pushes the result on the esil stack
|
||||
.IP *
|
||||
multiplies the values of source0 and source1 and pushes the result on the esil stack
|
||||
.IP /
|
||||
divides the value of source1 by the value of source0
|
||||
|
||||
.SH BASIC OPERATIONS EXAMPLES (x86)
|
||||
|
||||
.IP "jmp eax -> eax,eip,="
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR radare2 (1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user