0% found this document useful (0 votes)
8 views2 pages

Micro

The 8085 microprocessor has five addressing modes for data transfer: immediate, direct, register, register indirect, and implied. The Flag Register contains 8 bits, with 5 useful flags: Sign, Zero, Auxiliary Carry, Parity, and Carry, which indicate the status of arithmetic and logical operations. Instruction word sizes in the 8085 microprocessor are classified based on the number of bytes they occupy, which can be one, two, or three bytes.

Uploaded by

sufyan.khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

Micro

The 8085 microprocessor has five addressing modes for data transfer: immediate, direct, register, register indirect, and implied. The Flag Register contains 8 bits, with 5 useful flags: Sign, Zero, Auxiliary Carry, Parity, and Carry, which indicate the status of arithmetic and logical operations. Instruction word sizes in the 8085 microprocessor are classified based on the number of bytes they occupy, which can be one, two, or three bytes.

Uploaded by

sufyan.khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

explain the various addressing modes of 8085 microprocessor with example?

Explain different types of Flag Register in 8085 microprocessor. Also, explain how the instruction
word size are classified in 8085 microprocessor. ?
Addressing Modes in 8085 These are the instructions used to transfer the data from one
register to another register, from the memory to the register, and from the register to the he Flag register is a Special Purpose Register. Depending upon the value of the result
memory without any alteration in the content. Addressing modes in 8085 is classified into 5 after any arithmetic and logical operation, the flag bits become set (1) or reset (0). In 8085
groups − microprocessor, the flag register consists of 8 bits and only 5 of them are useful. The 5
flags are:
In this mode, the 8/16-bit data is specified in the instruction itself as one of its operand. For
example: MVI K, 20F: means 20F is copied into register K. 1.Sign Flag (S) – After any operation if the MSB (B(7)) of the result is 1, it indicates the
number is negative and the sign flag becomes set, i.e. 1. If the MSB is 0, it indicates the
For example: MOV K, B:
means data in register B is copied to register K. number is positive and the sign flag becomes reset i.e. 0. from 00H to 7F, sign flag is 0
from 80H to FF, sign flag is 1 1- MSB is 1 (negative) 0- MSB is 0 (positive)
In this mode, the data is directly copied from the given address to the register. For
Zero Flag (Z) – After any arithmetical or logical operation if the result is 0 (00)H, the zero
example: LDB 5000K: means the data at address 5000K is copied to register B.
flag becomes set i.e. 1, otherwise it becomes reset i.e. 0. 00H zero flags is 1. from 01H to
In this mode, the data is transferred from one register to another by using the address
FFH zero flag is 0 1- zero-result 0- non-zero result
pointed by the register. For example: MOV K, B: means data is transferred from the
memory address pointed by the register to the register K. 3.Auxiliary Carry Flag (AC) – This flag is used in the BCD number system(0-9). If after
any arithmetic or logical operation D(3) generates any carry and passes it on to D(4) this
This mode doesn’t require any operand; the data is specified by the opcode itself. For
example: CMP. flag becomes set i.e. 1, otherwise, it becomes reset i.e. 0. This is the only flag register that
is not accessible by the programmer 1-carry out from bit 3 on addition or borrows into bit 3
3.Illustrate neat block diagram of 8085 microprocessor and explain its internal architecture.?
on subtraction 0-otherwise
Parity Flag (P) – If after any arithmetic or logical operation the result has even parity, an
even number of 1 bit, the parity register becomes set i.e. 1, otherwise it becomes reset i.e.
0. 1-accumulator has an even number of 1 bits 0-accumulator has odd parity
Carry Flag (CY) – Carry is generated when performing n bit operations and the result is
more than n bits, then this flag becomes set i.e. 1, otherwise, it becomes reset i.e. 0.
During subtraction (A-B), if A>B it becomes reset, and if (A<B) it becomes set. Carry flag is

also called the borrow flag. 1-carry out from MSB bit on addition or borrow into MSB

bit on subtraction 0-no carry out or borrow into MSB bit.

You might also like