Skip to content

Commit

Permalink
Update docs to better reflect status of xstore/xload
Browse files Browse the repository at this point in the history
  • Loading branch information
0x3C50 authored and jumanji144 committed Apr 19, 2024
1 parent 1246e37 commit 23fd403
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/language/instructions/Jvm.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ It can be represented by the following expressions:
- any identifier
- any number

Important: In order to make sure obfuscation does not break jasm, number literals are **interpreted as identifiers**. This means that `astore 2` does NOT store the top object to the variable in slot `2`, but stores it to a variable CALLED `2`. It does not have to be variable 2.
There is currently no way to load / store a specific local index.

### Constant
A constant is a object present in the constant pool and can be represented by the following expressions:
- identifier:
Expand Down Expand Up @@ -240,4 +243,4 @@ Array type specifies the primitive type of the array, it can be one of the follo
| `monitorexit` | `object` -> | exits the monitor of `object` |
| `multianewarray class dimensions` | `int...` -> `array` | creates a new multidimensional array of `class` with dimensions `dimensions` and pushes it onto the stack |
| `ifnull [label: label]` | `object` -> | pops `object` off of the stack and jumps to `label` if it is `null` |
| `ifnonnull [label: label]` | `object` -> | pops `object` off of the stack and jumps to `label` if it is not `null` |
| `ifnonnull [label: label]` | `object` -> | pops `object` off of the stack and jumps to `label` if it is not `null` |

0 comments on commit 23fd403

Please sign in to comment.