9. Join-Accumulate Virtual Machine
The JAVM is the JAR protocol's virtual machine, based on the PVM (Polkadot Virtual Machine, GP Appendix A). It is a RISC-V rv64em ISA with 13 general-purpose 64-bit registers, pageable 32-bit-addressable RAM, and approximately 141 opcodes.
- 9.1. jar1 JAVM Configuration
- 9.2. Constants
- 9.3. Machine Model
- 9.4. Program Representation
- 9.5. Memory Operations (Appendix A.4)
- 9.6. Program Blob Decoding (Appendix A.5)
- 9.7. Instruction Operand Decoding
- 9.8. Host-Call Result Sentinels (Appendix B)
- 9.9. JAR Blob Format
- 9.10. Instruction Execution (Appendix A.6)
- 9.11. Interpreter
- 9.12. Gas Cost Model
- 9.13. Capability System