3
0
mirror of https://github.com/Qortal/AT.git synced 2025-01-30 02:42:14 +00:00
Automated Transactions
Go to file
catbref a58b4d4bec New OpCode.compile() to simplify compilation, with checking!
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.
2020-04-09 18:16:14 +01:00
docs correct test 3 output for bor dat 2018-08-26 15:11:59 +08:00
Java New OpCode.compile() to simplify compilation, with checking! 2020-04-09 18:16:14 +01:00
README.md Initial commit 2016-02-15 00:34:00 +08:00

AT

Automated Transactions