
Language::Zcode::Parser::Opcode - parse one opcode

This package parses one opcode. It uses the syntax described in the Z-spec's table, 14.1. It parses the opcode and its arguments into a hash:
Name of the opcode
Byte address of the opcode (in hex)
Arguments to a subroutine call
Negates the condition of a branch instruction
Return true/false if branch condition is met, instead of jumping
Other keys are (almost) identical to the arg names in the spec. For example, "je a b ?(label)" yields keys a, b, and label. For example2, word-index is changed to word_index to make my life easier.