WZ> Can someone explain to me how to load AH and AL? And then how to read
WZ> back out? I've deduced that I have to load them by loading AX like 030
WZ> hex values and then 03 is AH and 02 is AL I'm doing this with the R
WZ> command. But then when I read the register I have to split them back
WZ> from AH and I'm doing it by converting to a string and using right$ or
WZ> and then doing a VAL and this seems awfully awkward to me. I'm using
WZ> with the original PB3.0 manuals and I must be missing something.
AH=reg(1)\256
AL=reg(1) mod 256
256=100h, so if AH=03 then AH*100h=0300h. to get AX from AH and AL on
the fly say AX=AH*256+AL. Eric
--- QM v1.00
---------------
* Origin: Creekside Manor (805) 484-8016 CdCom Support BBS (1:206/2512.0)
|