* tic80.h: Change all the OPERAND defines to use the form (1 << X)
authorFred Fish <fnf@specifix.com>
Thu, 30 Jan 1997 20:56:33 +0000 (20:56 +0000)
committerFred Fish <fnf@specifix.com>
Thu, 30 Jan 1997 20:56:33 +0000 (20:56 +0000)
commitc2717a801fc15ec6c37b68fb84b7091c4f747be6
treef6139c74b7fd2e225e15c74d8a9e7c3db16633d9
parentf1ce6af4fe6a6d71b83af1dde4ad879b93776bcc
* tic80.h: Change all the OPERAND defines to use the form (1 << X)
rather than a constant that is 2**X.  Reorder them to put bits for
operands that have symbolic names in the upper bits, so they can
be packed into an int where the lower bits contain the value that
corresponds to that symbolic name.
(predefined_symbo): Add struct.
(tic80_predefined_symbols): Declare array of translations.
(tic80_num_predefined_symbols): Declare size of that array.
(tic80_value_to_symbol): Declare function.
(tic80_symbol_to_value): Declare function.
include/opcode/ChangeLog
include/opcode/tic80.h