TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: BOB ZALE
date: 1998-04-03 06:09:00
subject: Re: pb3.5:asm shl di,6

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.