forked from AbleOS/ableos
29 lines
315 B
Markdown
29 lines
315 B
Markdown
# Math operations
|
|
```
|
|
MATH_OP
|
|
Add
|
|
Sub
|
|
Mul
|
|
Div
|
|
Mod
|
|
```
|
|
```
|
|
MATH_TYPE
|
|
Unsigned
|
|
Signed
|
|
FloatingPoint
|
|
```
|
|
|
|
```
|
|
MATH_OP_SIDES
|
|
Register Constant
|
|
Register Register
|
|
Constant Constant
|
|
Constant Register
|
|
```
|
|
`[MATH_OP] [MATH_OP_SIDES] [MATH_TYPE] [IMM_LHS] [IMM_RHS] [REG]`
|
|
|
|
|
|
|
|
|