comparison lwasm/insn_gen.c @ 163:2e6a1e914104

Added ability to use * as a direct page indicator
author lost
date Sat, 31 Jan 2009 16:15:05 +0000
parents 427e268e876b
children 048ebb85f6ef
comparison
equal deleted inserted replaced
162:02ada556bcc0 163:2e6a1e914104
54 54
55 if (**optr == '<') 55 if (**optr == '<')
56 { 56 {
57 (*optr)++; 57 (*optr)++;
58 f8 = 1; 58 f8 = 1;
59 }
60 // for compatibility with asxxxx
61 // * followed by a digit, alpha, or _, or ., or ?, or another * is "f8"
62 else if (**optr == '*')
63 {
64 tv = *(*optr + 1);
65 if (isdigit(tv) || isalpha(tv) || tv == '_' || tv == '.' || tv == '?' || tv == '@' || tv == '*' || tv == '+' || tv == '-')
66 {
67 f8 = 1;
68 (*optr)++;
69 }
59 } 70 }
60 else if (**optr == '>') 71 else if (**optr == '>')
61 { 72 {
62 (*optr)++; 73 (*optr)++;
63 f16 = 1; 74 f16 = 1;