From: Bob Zale
Subject: Re: pb3.5:asm shl di,6 why dont it werk?
> Nope,just use these equates,
>
> %pusha =&h60
> %popa =&h61
> then use them like so,
> asm dw %pusha
> asm ;screw with the registers all ya want
> asm dw %popa
>
The concept is excellent, but the implementation will fail. The DW
opcode defines a WORD. So you'll get a byte of &h61 (PUSHA) followed by
another byte of &h00, which would be the lead-in byte for another
opcode. Change those DW's to DB and it will work perfectly.
Bob Zale
PowerBASIC Inc.
*** QwkNews (tm) v2.1
* [TN71] Toast House Import
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|