Mercurial > hg > index.cgi
comparison lwasm/lwasm.h @ 470:2c1c5dd84024
Add << prefix to force 5 bit offsets in indexed modes
Rounding out the compliment of operand size prefixes, we now have "<<" to
mean "force 5 bits". According to Steve Bjork, this was the "official" way
to do this since 1980. However, I have no official Motorola source for
that. It does suggest that the choice of "<<" is consistent with other
(historical) assemblers, though.
Either way, it seems the most logical choice while avoiding any conflicts
with legal source code, so "<<" it is.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 23 Jul 2018 17:45:18 -0600 |
parents | a6c9129e5948 |
children | e97f9a302c6a |
comparison
equal
deleted
inserted
replaced
469:9393a6b8886c | 470:2c1c5dd84024 |
---|---|
204 E_SYMBOL_UNDEFINED_EXPORT = 54, | 204 E_SYMBOL_UNDEFINED_EXPORT = 54, |
205 E_UNKNOWN_OPERATION = 55, | 205 E_UNKNOWN_OPERATION = 55, |
206 E_USER_SPECIFIED = 56, | 206 E_USER_SPECIFIED = 56, |
207 E_ORG_NOT_FOUND = 57, | 207 E_ORG_NOT_FOUND = 57, |
208 E_COMPLEX_INCOMPLETE = 58, | 208 E_COMPLEX_INCOMPLETE = 58, |
209 E_ILL5 = 59, | |
209 | 210 |
210 /* warnings must be 1000 or greater */ | 211 /* warnings must be 1000 or greater */ |
211 | 212 |
212 W_DUPLICATE_SECTION = 1000, | 213 W_DUPLICATE_SECTION = 1000, |
213 W_ENDSTRUCT_WITHOUT = 1001, | 214 W_ENDSTRUCT_WITHOUT = 1001, |