MIC PC 2

Download as pdf
Download as pdf
You are on page 1of 2
Microprocessor (22415) fe. Once the assembly language program is created, then type fasm fllename.asm on the command prompt and press Enter Key to cteate filename.obj file £. Type tlink filename.obj or tlink filename on command prompt and press Enter Key to create filename .exe file. g. Finally, type debug filename.exe or td filename.exe on the command prompt and press Enter Key to debug your program step by step. h. Observe the contents of registers, memory location used and status of flags. XI Resources used (Additional) . 1) Observe and write the contents of Register using debugger TD or Debug Table 1: Contents of Registers Types Registers Flag Register General Purpose [| AX | O00 4 Carry Flag CF 1oO registers BMloosans Zero Flag, Zw | o CX lopap Sign Flag SF Te DX [FEE 4 |__ Overflow Flag oF | oO Index Register SI_|o0o Parity Flag PF [oO DI_[oooc | Auxiliary Carry Flag | AF | O Base Pointer BP [mook Interrupt Flag IF 1 Stack Pointer SP_|o20¢ Direction Flag Drala aa Segment Register. | DS [440 ES [1234 Ss TAY = ‘ cs [4436 | Aastruction register | IP [Oo S' 2) Observe and write the contents of memory location in Code Segment using debugger TD or Debug Table 2: Contents of memory location in Code Segment Contents Address Contents O29) SOOO” | Ow CS:000A S000 = CS:000B S DOOD CS:000C 06s | = CS:000D, zo ‘Maharashtra State Board of Technical Education CS:000E == CS:000F_ 3) Observe and write the contents of memory location in ‘Bors Segment using debug TD or Debug Table 3: Contents of memory location in Data Segment Address Contents Address Contents DS:0000 Ono8 DS:0008 = DS:0001 = DS:0009 ” = DS:0002 4646 DS:000A a DS:0003 as ‘DS:000B, a DS:0004 t DS:000C ec DS:0005 ae DS:000D a DS:0006 = DS:000E =a oe DS:0007 = DS:000F a XIV Practicul related Questions Note: Below given are more such questions to few sample questions for reference. Teachers must d ensure the achievement of identified CO, 1. Write the assembly language tools used in your lab in Table 4. Table 4: Tools Used paces Tools Used Name of Tool Version | itor OK 6: ; |-27 [Assembler tASM re a a —| 3 [Linker = ae peaks LENS RQ) ree ugger T] SI Maharashira State Board of i» Technical Education

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy