Signed-off-by: Michael Buesch <mb@bu3sch.de>
}
;
-extended_operlist : decnum COMMA decnum COMMA operand COMMA operand COMMA operand {
+extended_operlist : imm_value COMMA imm_value COMMA operand COMMA operand COMMA operand {
struct operlist *ol = xmalloc(sizeof(struct operlist));
struct operand *mask_oper = xmalloc(sizeof(struct operand));
struct operand *shift_oper = xmalloc(sizeof(struct operand));
mov testlabel, r0 /* Can use label as immediate value */
mov r0,r1;mov r2, r3 /* ; does split instructions */
mov [(1+1)],[(2+2),off0] /* Can use complex immediates as memory offsets */
+ orx (0 + 1), (1 * 2), 0, 0, r0 /* Allow complex immediates as M or S */
/* The .initvals section generates an "Initial Values" file