TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: SAM IZZO
from: CRAIG HART
date: 1997-04-28 16:20:00
subject: scrolling

Hi..
 >> What is LSB?
 >  JK> Least Significant Byte
 > Least Significant Bit
 >>  JK>     xchg ah, al
 >>  JK>     in al, 50h     ; MSB of timer 0
 >>  JK>     xchg ah, al
 >>
 >> And MSB?
 >  JK> Most Significant Byte
 > Most Significant Bit
In the context of the question thus placed, the B in MSB does, in fact, stand 
for BYTE. MSB is an abbreviation that has more than one meaning, and one must 
look at the context of it's use to decide which is appropriate.
In the example given, the code is retrieveing the 16-bit value of timer 0, 
which is done by reading the same I/O port twice, once to retrieve the least 
Signivigant BYTE, once to retrieve the most signivigant BYTE. the code then 
"reassembles" the two 8-bit bytes read back into one 16-bit word.
    Craig
--- FMail/386 1.0g
---------------
* Origin: Communications Barrier BBS (03) 9585 1112, 24hrs (3:632/533)

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™.