Tuesday, January 28, 2014

MPP experiment 1

Questions:

a) List 8-bit and 16-bit registers present in 8085.
Answer:
The 8085/8080A-programming model includes six registers, one accumulator, and one flag register, as shown in Figure. In addition, it has two 16-bit registers: the stack pointer and the program counter. They are described briefly as follows. The 8085/8080A has six general-purpose registers to store 8-bit data; these are identified as B,C,D,E,H, and L as shown in the figure. They can be combined as register pairs -  BC, DE, and HL - to perform some 16-bit operations. The programmer can use these registers to store or copy data into the registers by using data copy instructions.

b) What is the role of accumulator in 8085?
Answer:
The accumulator is an 8-bit register that is a part of arithmetic/logic unit (ALU). This register is used to store 8-bit data and to perform arithmetic and logical operations. The result of an operation is stored in the accumulator. The accumulator is also identified as register A.

c) List allowed register pairs of 8085.
Answer:
BC, DE and HL register pair.

0 comments:

Post a Comment