mirror of
https://github.com/Qortal/AT.git
synced 2025-01-30 02:42:14 +00:00
Automated Transactions
a58b4d4bec
OpCode.compile(...) takes varargs as necessary, and returns byte[]. It will complain if the number of args is incorrect, or if any arg cannot be coerced into the correct form (byte/int/short/long). It will also complain if you try to use a branch offset that is too big to fit into byte. Two-pass compilation support added with OpCode.calcOffset(ByteBuffer, Integer) where Integer is null during the first pass, but also set to ByteBuffer.position() during first pass, so proper value can be calculated during second pass. MachineState.disassemble() changed into a public static method, requiring far less effort to call. Checking of branch target bounds now done by each OpCode as doing it in OpCodeParam wasn't reliable as PC wasn't available. Yet more visibility tightening. Improved comments. Yet more tests. |
||
---|---|---|
docs | ||
Java | ||
README.md |
AT
Automated Transactions