You are on page 1of 4

Chandigarh University

Department of Electronics & Communication Engineering


Assignment # 01-Group1
Programme: BE Semester: 4TH

Subject Name: Microprocessor Subject Code: ECT-


254

Date of Allocation: 25/1/17 Date of Submission:15/2/17

Max. Marks: 08
S. No. Marks
1. Draw timing diagram for Fetching a byte 41H stored at memory [2]
location 2105H.
2. What is the contents of accumulator after instruction ANI 08, assume [2]
before execution contents of accumulator-04H and after and operation
write instructions for taking 2’s complement of number.
3. Make a table whose first column represents the instruction, second [2]
column will specify no. of bytes of instruction and third column will
specify the addressing mode of instructions. Take at least five different
examples.
4. Calculate the execution time required for executing the instructions [2]
with the system frequency of 3 MHZ.
MVI B,05H
Chandigarh University
Department of Electronics & Communication Engineering
Assignment # 01- Group2
Programme: BE Semester: 4TH

Subject Name: Microprocessor Subject Code: ECT-


254

Date of Allocation: 25/1/17 Date of Submission:15/2/17

Max. Marks: 08
S. No. Marks

1. Draw timing diagram for MVI,05H [2]


2. What are the contents of accumulator and status of carry flag after [2]
execution
MVI A,C5H
ORA A,A
RLC
RRC
RAL
RAR
HLT
3. Give examples of 1 byte, 2 byte, 3 byte instruction. [2]
4. Calculate the execution time required for executing the instructions [2]
with the system frequency of 3 MHz.
STA 8000H
Chandigarh University
Department of Electronics & Communication Engineering
Assignment # 01- Group 3
Programme: BE Semester: 4TH

Subject Name: Microprocessor Subject Code: ECT-


254

Date of Allocation: 25/1/17 Date of Submission:15/2/17

Max. Marks: 08
S. No. Marks
1. Show the contents of registers involved in instructions, memory [2]
location and status of flags after execution of following instructions.
MVI A,E5H
MVI C,D7H
STA 3000H
LHLD, 3000H
MOV A,C
ADD M
HLT
2. Draw timing diagram for MOV A,B [2]
3. Calculate the execution time required for executing the instructions [2]
with the system frequency of 3 MHz.
LDA 3000H
4. Make a table whose first column represents the instruction and second [2]
column will specify no. of bytes of instruction. Take six examples each
two represents different no. of bytes.
Chandigarh University
Department of Electronics & Communication Engineering
Assignment # 01- Group4
Programme: BE Semester: 4TH

Subject Name: Microprocessor Subject Code: ECT-


254

Date of Allocation: 25/1/17 Date of Submission:15/2/17

Max. Marks: 08
S. No. Marks

1. Make a table whose first column represents the instruction and second [2]
column will specify addressing mode of instruction. Take five example
each represents different addressing mode.
2. What will be the status of flag after execution of given instructions [2]
MVI A,CAH
ORA A,A
CPI 7CH
HLT
3. Calculate the execution time required for executing the instructions [2]
with the system frequency of 3 MHz
MOV A,B
4. Draw the timing diagram of HLT instruction. [2]

You might also like