Mercurial > hg > index.cgi
comparison lwasm/insn_indexed.c @ 129:5706712f8a20
Allow [>...] for extended indirect
author | lost@l-w.ca |
---|---|
date | Thu, 11 Aug 2011 22:25:29 -0600 |
parents | 6a919c3ca0e9 |
children | 50d86baf4ea2 |
comparison
equal
deleted
inserted
replaced
128:3a5f718b24c1 | 129:5706712f8a20 |
---|---|
159 } | 159 } |
160 | 160 |
161 // if no "," and indirect, do extended indir | 161 // if no "," and indirect, do extended indir |
162 if (!rn && indir) | 162 if (!rn && indir) |
163 { | 163 { |
164 // eat the extended addressing indicator if present | |
165 if (**p == '>') | |
166 (*p)++; | |
164 // extended indir | 167 // extended indir |
165 l -> pb = 0x9f; | 168 l -> pb = 0x9f; |
166 e = lwasm_parse_expr(as, p); | 169 e = lwasm_parse_expr(as, p); |
167 if (!e || **p != ']') | 170 if (!e || **p != ']') |
168 { | 171 { |