SlideShare uma empresa Scribd logo
1 de 4
Baixar para ler offline
A solution manual to
Assembly language
Programming
and the organization of
the IBM PC
Chapter 3
Organization of the IBM personal Computer
BY:- Ytha Yu & Charles Marut
prepared by :
Warda Aziz
Wardaaziz555@gmail.com
Question 1:
What are the main differences between 80286 and 8086 processors?
Answers:
Question 2:
What are differences between registers and memory locations?
Ans:
Question 3:
List one special function for each of the data registers AX, BX, CX, DX
Ans:
AX: input and output operations
BX: works as an address register
CX: used in looping
DX: used in multiplication and division, also in I/0 operation.
Question 4:
Determine the physical address of a memory location given by 0A51:CD90h
Ans:
Address= A51*10+CD90
=172A0h
Question 5:
A memory location has a physical address 4A37Bh. Compute
 The offset address if seg number is 40FFh
 The segment number if the offset address is 123Bh
Ans:
8086 80286
Invention date 1978 1982
RAM 1 Mb 16Mb
Registers 14 reg 8,15
Functional units 2 4
CPU speed 10 MHz 12.5 MHz
Modes of
operation
Operates in real address mode
only
Operates in real address mode and protected
virtual address mode
Register Memory location
Holds small amount of data Holds a large amount of data
Fast access Slower access of data
Resides inside CPU Resides in RAM
Called by their names Call by their address
Question 6:
What is paragraph boundary?
Ans:
A paragraph comprises 16 bytes, so any address divisible by 16 is said to be a paragraph
boundary.
Question 7:
What determines how compatible an IBM PC clone is with an authentic IBM PC?
Ans:
IBM PC compatible computers are those similar to the original/authentic IBM PC; able
to run the same software and support the same expansion cards as those. Such computers
used to be reffered as PC clones or IBM clones.
Compatibility of IBM clones depends on the BIOS routines matching with the authentic
IBM PC.
Question 8:
What is the maximum amount of memory that DOS allocates for loading RUN files?
Assume that DOS occupies up to the byte 0FFFF
Ans:
Usually it depends on the size of RAM used. In 1MB of RAM only 640 kb are
accessible for direct use I.e., for loading and running application programs.
Question 9:
Give the DOS commands to do the following. Suppose that A is the logged drive.
A. Copy FILE1 in the current directory to FILE1A on the disk in drive b
B. Copy all files with an .ASM extension to the disk in drive B
C. Erase all files with the .BAK extension
D. List all file names in the current directory that begin with A
E. Set the date to September 21, 1991
F. Print the file FILE5.ASM on the printer.
Solution:
Copy FILE1 in the current directory to FILE1A on the disk in drive b
COPY A:FILE1 B:FILE1A
Copy all files with an .ASM extension to the disk in drive B
COPY A: *.ASM B:
Erase all files with the .BAK extension
ERASE *.BAK
List all file names in the current directory that begin with A
DIR A:A*.*
Set the date to September 21, 1991
DATE 09-21-9
Print the file FILE5.ASM on the printer.
PRINT A:FILE5.ASM
Question 10:
Suppose that (a) the root directory has sub-directories A,B,C (b) A has
sub-directories A1 and A2 (c) A1 has a sub directory A1A.
Give DOS commands to
A) create the preceding directory tree
B) Make A1A the current directory
C) Have DOS display the current directory
D) Remove the preceding directory tree
Solution:
Create the preceding directory tree
C>CD
C>MDROOT
C>MDROOTA
C>MDROOTB
C>MDROOTC
C>MDROOTAA1
C>MDROOTAA2
C>MDROOTAA1A1A
Make A1A the current directory
CDROOTAA1A1A
Have DOS display the current directory
CD
Remove the preceding directory tree
C>ERASEROOTAA1A1A
C>RMROOTAA1
C>RMROOTAA2
C>RMROOTA
C>RMROOTB
C>RMROOTC
C>RMROOT

Mais conteúdo relacionado

Mais procurados

Ascii adjust & decimal adjust
Ascii adjust & decimal adjustAscii adjust & decimal adjust
Ascii adjust & decimal adjust
Tech_MX
 

Mais procurados (20)

Assembly language (coal)
Assembly language (coal)Assembly language (coal)
Assembly language (coal)
 
Chapter 6 Flow control Instructions
Chapter 6 Flow control InstructionsChapter 6 Flow control Instructions
Chapter 6 Flow control Instructions
 
assembly language programming organization of IBM PC chapter 9 part-1(MULTIPL...
assembly language programming organization of IBM PC chapter 9 part-1(MULTIPL...assembly language programming organization of IBM PC chapter 9 part-1(MULTIPL...
assembly language programming organization of IBM PC chapter 9 part-1(MULTIPL...
 
Binary and hex input/output (in 8086 assembuly langyage)
Binary and hex input/output (in 8086 assembuly langyage)Binary and hex input/output (in 8086 assembuly langyage)
Binary and hex input/output (in 8086 assembuly langyage)
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 8 (The Stack and...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 8 (The Stack and...Assembly Language Programming By Ytha Yu, Charles Marut Chap 8 (The Stack and...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 8 (The Stack and...
 
Solution manual of assembly language programming and organization of the ibm ...
Solution manual of assembly language programming and organization of the ibm ...Solution manual of assembly language programming and organization of the ibm ...
Solution manual of assembly language programming and organization of the ibm ...
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 6 (Flow Control ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 6 (Flow Control ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 6 (Flow Control ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 6 (Flow Control ...
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
 
Assembly Language Lecture 4
Assembly Language Lecture 4Assembly Language Lecture 4
Assembly Language Lecture 4
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...
 
Jumps in Assembly Language.
Jumps in Assembly Language.Jumps in Assembly Language.
Jumps in Assembly Language.
 
8086 instruction set
8086  instruction set8086  instruction set
8086 instruction set
 
1327 Addressing Modes Of 8086
1327 Addressing Modes Of 80861327 Addressing Modes Of 8086
1327 Addressing Modes Of 8086
 
Assembly language
Assembly language Assembly language
Assembly language
 
Ascii adjust & decimal adjust
Ascii adjust & decimal adjustAscii adjust & decimal adjust
Ascii adjust & decimal adjust
 
Multiplication & division instructions microprocessor 8086
Multiplication & division instructions microprocessor 8086Multiplication & division instructions microprocessor 8086
Multiplication & division instructions microprocessor 8086
 
Assembly Language Lecture 5
Assembly Language Lecture 5Assembly Language Lecture 5
Assembly Language Lecture 5
 
Assembly Language Lecture 3
Assembly Language Lecture 3Assembly Language Lecture 3
Assembly Language Lecture 3
 

Semelhante a Organization of the ibm personal computers

1. High-level formatting in Windows XP, Vista, and 7 uses which tool.docx
1. High-level formatting in Windows XP, Vista, and 7 uses which tool.docx1. High-level formatting in Windows XP, Vista, and 7 uses which tool.docx
1. High-level formatting in Windows XP, Vista, and 7 uses which tool.docx
corbing9ttj
 
Chp3 designing bus system, memory & io copy
Chp3 designing bus system, memory & io   copyChp3 designing bus system, memory & io   copy
Chp3 designing bus system, memory & io copy
mkazree
 
Chapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structuChapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structu
EstelaJeffery653
 
Hadoop Architecture | HDFS Architecture | Hadoop Architecture Tutorial | HDFS...
Hadoop Architecture | HDFS Architecture | Hadoop Architecture Tutorial | HDFS...Hadoop Architecture | HDFS Architecture | Hadoop Architecture Tutorial | HDFS...
Hadoop Architecture | HDFS Architecture | Hadoop Architecture Tutorial | HDFS...
Simplilearn
 

Semelhante a Organization of the ibm personal computers (20)

basicmsdos.ppt
basicmsdos.pptbasicmsdos.ppt
basicmsdos.ppt
 
basicmsdos.ppt
basicmsdos.pptbasicmsdos.ppt
basicmsdos.ppt
 
basic ms dos commands and theory in OSystem
basic ms dos commands and theory in OSystembasic ms dos commands and theory in OSystem
basic ms dos commands and theory in OSystem
 
Intel architectuer
Intel architectuerIntel architectuer
Intel architectuer
 
Instruction addressing and execution
Instruction addressing and executionInstruction addressing and execution
Instruction addressing and execution
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
17431 microprocessor & programming
17431  microprocessor & programming17431  microprocessor & programming
17431 microprocessor & programming
 
Unix 6 en
Unix 6 enUnix 6 en
Unix 6 en
 
amer-memory1.ppt
amer-memory1.pptamer-memory1.ppt
amer-memory1.ppt
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
1. High-level formatting in Windows XP, Vista, and 7 uses which tool.docx
1. High-level formatting in Windows XP, Vista, and 7 uses which tool.docx1. High-level formatting in Windows XP, Vista, and 7 uses which tool.docx
1. High-level formatting in Windows XP, Vista, and 7 uses which tool.docx
 
Ds8000 Practical Performance Analysis P04 20060718
Ds8000 Practical Performance Analysis P04 20060718Ds8000 Practical Performance Analysis P04 20060718
Ds8000 Practical Performance Analysis P04 20060718
 
Mshd
MshdMshd
Mshd
 
RTOS.docx
RTOS.docxRTOS.docx
RTOS.docx
 
Advanced Apache Spark Meetup: How Spark Beat Hadoop @ 100 TB Daytona GraySor...
Advanced Apache Spark Meetup:  How Spark Beat Hadoop @ 100 TB Daytona GraySor...Advanced Apache Spark Meetup:  How Spark Beat Hadoop @ 100 TB Daytona GraySor...
Advanced Apache Spark Meetup: How Spark Beat Hadoop @ 100 TB Daytona GraySor...
 
Session01_Intro.pdf
Session01_Intro.pdfSession01_Intro.pdf
Session01_Intro.pdf
 
Chp3 designing bus system, memory & io copy
Chp3 designing bus system, memory & io   copyChp3 designing bus system, memory & io   copy
Chp3 designing bus system, memory & io copy
 
Chapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structuChapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structu
 
Hadoop Architecture | HDFS Architecture | Hadoop Architecture Tutorial | HDFS...
Hadoop Architecture | HDFS Architecture | Hadoop Architecture Tutorial | HDFS...Hadoop Architecture | HDFS Architecture | Hadoop Architecture Tutorial | HDFS...
Hadoop Architecture | HDFS Architecture | Hadoop Architecture Tutorial | HDFS...
 
Hard disk PPT
Hard disk PPTHard disk PPT
Hard disk PPT
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Último (20)

Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

Organization of the ibm personal computers

  • 1. A solution manual to Assembly language Programming and the organization of the IBM PC Chapter 3 Organization of the IBM personal Computer BY:- Ytha Yu & Charles Marut prepared by : Warda Aziz Wardaaziz555@gmail.com
  • 2. Question 1: What are the main differences between 80286 and 8086 processors? Answers: Question 2: What are differences between registers and memory locations? Ans: Question 3: List one special function for each of the data registers AX, BX, CX, DX Ans: AX: input and output operations BX: works as an address register CX: used in looping DX: used in multiplication and division, also in I/0 operation. Question 4: Determine the physical address of a memory location given by 0A51:CD90h Ans: Address= A51*10+CD90 =172A0h Question 5: A memory location has a physical address 4A37Bh. Compute  The offset address if seg number is 40FFh  The segment number if the offset address is 123Bh Ans: 8086 80286 Invention date 1978 1982 RAM 1 Mb 16Mb Registers 14 reg 8,15 Functional units 2 4 CPU speed 10 MHz 12.5 MHz Modes of operation Operates in real address mode only Operates in real address mode and protected virtual address mode Register Memory location Holds small amount of data Holds a large amount of data Fast access Slower access of data Resides inside CPU Resides in RAM Called by their names Call by their address
  • 3. Question 6: What is paragraph boundary? Ans: A paragraph comprises 16 bytes, so any address divisible by 16 is said to be a paragraph boundary. Question 7: What determines how compatible an IBM PC clone is with an authentic IBM PC? Ans: IBM PC compatible computers are those similar to the original/authentic IBM PC; able to run the same software and support the same expansion cards as those. Such computers used to be reffered as PC clones or IBM clones. Compatibility of IBM clones depends on the BIOS routines matching with the authentic IBM PC. Question 8: What is the maximum amount of memory that DOS allocates for loading RUN files? Assume that DOS occupies up to the byte 0FFFF Ans: Usually it depends on the size of RAM used. In 1MB of RAM only 640 kb are accessible for direct use I.e., for loading and running application programs. Question 9: Give the DOS commands to do the following. Suppose that A is the logged drive. A. Copy FILE1 in the current directory to FILE1A on the disk in drive b B. Copy all files with an .ASM extension to the disk in drive B C. Erase all files with the .BAK extension D. List all file names in the current directory that begin with A E. Set the date to September 21, 1991 F. Print the file FILE5.ASM on the printer. Solution: Copy FILE1 in the current directory to FILE1A on the disk in drive b COPY A:FILE1 B:FILE1A Copy all files with an .ASM extension to the disk in drive B COPY A: *.ASM B: Erase all files with the .BAK extension ERASE *.BAK List all file names in the current directory that begin with A DIR A:A*.* Set the date to September 21, 1991 DATE 09-21-9 Print the file FILE5.ASM on the printer.
  • 4. PRINT A:FILE5.ASM Question 10: Suppose that (a) the root directory has sub-directories A,B,C (b) A has sub-directories A1 and A2 (c) A1 has a sub directory A1A. Give DOS commands to A) create the preceding directory tree B) Make A1A the current directory C) Have DOS display the current directory D) Remove the preceding directory tree Solution: Create the preceding directory tree C>CD C>MDROOT C>MDROOTA C>MDROOTB C>MDROOTC C>MDROOTAA1 C>MDROOTAA2 C>MDROOTAA1A1A Make A1A the current directory CDROOTAA1A1A Have DOS display the current directory CD Remove the preceding directory tree C>ERASEROOTAA1A1A C>RMROOTAA1 C>RMROOTAA2 C>RMROOTA C>RMROOTB C>RMROOTC C>RMROOT