One way around this might be to use CBW, which essentially copies the high bit
of AL into all the bits of AH. Using your example, if this is the value in AL:
01011110
^ the alpha bit You can put a saturated mask in AH with two instructions:
SHL AL,1
CBW Or put a saturated mask in AH and leave AL unchanged with three
instructions:
ROL AL,1
CBW
ROR AL,1
Those instructions will work even on an 8086 CPU.
____________________________________________________________
Underground Treatment Melts Tumor With No Chemo (Watch)
pro.allianceforadvancedhealth.com
http://thirdpartyoffers.juno.com/TGL3141/5b560616f196e6162acbst04vuc
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel