
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
computer organization and assembly language lab manual
Typology: Lecture notes
1 / 24
This page cannot be seen from the preview
Don't miss anything!

















CSC-210 Computer Organization and Assembly Language Laboratory Manual
Laboratory Manual
CSC-210 Computer Organization and Assembly Language Laboratory Manual
CSC-210 Computer Organization and Assembly Language Laboratory Manual
Identify the ports computer and their working. Explain the importance types of memory and ports.
CSC-210 Computer Organization and Assembly Language Laboratory Manual
Identify the components computer and their functions.
Explain the importance types of mother board.
CSC-210 Computer Organization and Assembly Language Laboratory Manual
(a) .................. unit coordinates the activities of all the other units in The system.
(b) The standard size of display screen is .............. Lines by ........... Characters.
CSC-210 Computer Organization and Assembly Language Laboratory Manual
Review and explain the importance types of numbering systems types.
Explain the basic operations performed on numbers.
a) 154 b) – 413
Question (2):
1. What is the 3-digit 10’s complement of 247? a. Answer: 2. What is the 3-digit 10’s complement of 17? a. Answer: 3. 777 is a 10’s complement representation of what decimal value? a. Answer: 4. What is -20 expressed as an 8-bit binary number in 2’s complement notation? a. Answer:
CSC-210 Computer Organization and Assembly Language Laboratory Manual
Question (3):
I- Add 010011112 to 001000112 using signed-magnitude arithmetic.
II-Add 100100112 (–19) to 000011012 (+13) using signed-magnitude arithmetic.
Question (4):
I-Subtract 010011112 to 011000112 using signed-magnitude arithmetic
II-Subtract 011000112 (99) from 010011112 (79) using signed magnitude arithmetic
III-Subtract 100110002 (–24) from 101010112 (–43) using signed-magnitude arithmetic.
Question (5):
I-Express 2310 and 910 in 8-bit binary one's complement form.
II-Add 2310 to – 910 using one's complement arithmetic.
III-Express 2310, – 2310, and – 910 in 8-bit binary two's complement forms.
IV-Add 910 to – 2310 using two's complement arithmetic
Question (7):
(a) The 2s complement of (01010)2 is
(b) The 2s complement of (0.0010)2 is
(c) The 10s complement of (4887)10 is
(d) The 10s complement of (48.87)10 is
CSC-210 Computer Organization and Assembly Language Laboratory Manual
Explain Loading the DEBUG Program.
1. Use the REGISTER command to display the current contents of all of the 80x86's internal registers. List the initial values held in CS, DS, and SS. _____________ ,_____________ ,______________
2- Here is a short program that demonstrates the use of MOV instruction:
#MAKE_COM# ; instruct compiler to make COM file. ORG 100h ; directive required for a COM program. MOV AX, 0B800h ; set AX to hexadecimal value of B800h. MOV DS, AX ; copy value of AX to DS. MOV CL, 'A' ; set CL to ASCII code of 'A', it is 41h. MOV CH, 01011111b ; set CH to binary value. MOV BX, 15Eh ; set BX to 15Eh. MOV [BX], CX ; copy contents of CX to memory at B800:015E RET ; returns to operating system.
CSC-210 Computer Organization and Assembly Language Laboratory Manual
1- MOV AX,word 2- MOV AL,'A'
CSC-210 Computer Organization and Assembly Language Laboratory Manual
Identify Assembly basic Instructions.
SUB,DIV,DEC,INC
CSC-210 Computer Organization and Assembly Language Laboratory Manual
CSC-210 Computer Organization and Assembly Language Laboratory Manual
Procedure
MOV AX, BX MOV AX, OAAAA MOV AX, [BX] MOV AX, [4] ADD AX, BX
CSC-210 Computer Organization and Assembly Language Laboratory Manual
Step1 1 Data transfer instructions Using emu8086 to assemble the instructions (a) MOV AX,BX (b) MOV AX,0AAAAh (c) MOV AX,[BX] (d) MOV AX,[4] (e) MOV AX,[BX+SI] (f) MOV AX,[SI+4] (g) MOV AX,[BX+SI+4] Step 2 Initializing the internal registers of the 80x as follows: (AX) = 0000H (BX) = 0001H (CX) = 0002H (DX) = 0003H (SI) = 0010H (DI) = 0020H (BP) = 0030H (DS) = 0B60H Verify the initialization by displaying the new content of registers Step 3 Fill all memory locations in the range DS: through DS:1F with 00H and then initialize the following storage locations: (DS:0001H) = BBBBH (DS:0004H) = CCCCH (DS:0011H) = DDDDH (DS:0014H) = EEEEH (DS:0016H) = FFFFH Step 4 Trace the execution of the instructions (a) through (g). Explain the execution of each instruction, including addressing mode, physical address for memory addressing mode, value in AX. Fill the table below.
Instruction Addressing Mode
Physical Address AX Function a b c d e f