Professional Documents
Culture Documents
Guidelines Mps
Guidelines Mps
HALL Topics- Number System,Codes, Microprocessor Evolution and Types, 8086 Microprocessor Family overview is in D.V.HALL. Chapter 1-A.K.RAY have to read topics from 1.1 to 1.9,Chapter2 complete,Chapter-3 complete. From D.V.HALL chapters to read chapter 1 - complete, Chapter 2 -2.9,2.11,2.12,2.16, chapter 3,4,5,6, complete LDS/LES load data segment or load extra segment
Examples: 1) LDS SI.[BX] DS(higher byte) DS(lower byte) SI(Higher byte) SI(Lower 8 bit) 2000 BX=2000 This instructions loads the SI and DS register with the data stored at memory locations 2000,2001,2002,2003 sequentialy. 2) LES DI,[BX] ES(higher 2003
2002
2001
2003
2002
2001 DI(Lower 8 bit) BX=2000 This instructions loads the DI and ES register with the data stored at memory locations 2000,2001,2002,2003 sequentialy. 3) LDS BX,[2000] DS(higher byte) DS(lower byte) BH(Higher byte) BL(Lower 8 bit) 4) LES BX,[2000] ES(higher byte) ES(lower byte) BH(Higher byte) BL(Lower 8 bit) 2003 2002
2001
2000
2002
2001 2000
XLAT-traslate the byte stored in AL with the help of lookup table whose base address is stored in BX register.
Example: MOV BX,2000 MOV AL,20 XLAT Effective address of 20 code in lookup table is 10*DS+BX+AL