`define(IND,`dword ptr [$1]')',
`define(IND,`($1)')')
+ifdef(`DASM',
+ `define(INDW,`word ptr [$1]')',
+ `define(INDW,`($1)')')
+
ifdef(`DASM',
`define(BOF,`byte ptr $1[$2]')',
`define(BOF,`$1($2)')')
define_c_label(x87_read_control_word)
IF387(` enter IMM(4),IMM(0)
fnstcw IND(REG(esp))
- OP(mov,w) TW(IND(REG(esp)),REG(ax))
+ OP(mov,w) TW(INDW(REG(esp)),REG(ax))
leave')
ret
define_c_label(x87_read_status_word)
IF387(` enter IMM(4),IMM(0)
fnstsw IND(REG(esp))
- OP(mov,w) TW(IND(REG(esp)),REG(ax))
+ OP(mov,w) TW(IND@(REG(esp)),REG(ax))
leave')
ret