This document provides a cheat sheet for the 8085 microprocessor, summarizing its key components and addressing modes in 3 sentences or less:
It outlines the registers of the 8085 including the accumulator, flag registers, program counter, stack pointer and general purpose registers. Memory and I/O operations are also summarized along with the different addressing modes like direct, register, register indirect and immediate addressing. Finally, it provides a brief overview of the machine cycles for opcode fetch, memory read/write and I/O read/write operations on the 8085 microprocessor.
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 ratings0% found this document useful (0 votes)
632 views
ASM 8085 Cheat Sheet: by Via
This document provides a cheat sheet for the 8085 microprocessor, summarizing its key components and addressing modes in 3 sentences or less:
It outlines the registers of the 8085 including the accumulator, flag registers, program counter, stack pointer and general purpose registers. Memory and I/O operations are also summarized along with the different addressing modes like direct, register, register indirect and immediate addressing. Finally, it provides a brief overview of the machine cycles for opcode fetch, memory read/write and I/O read/write operations on the 8085 microprocessor.
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/ 1
ASM 8085 Cheat Sheet
by Deathtitan77 (Deathtitan77) via cheatography.com/122246/cs/22644/
Registers Flag Registers (cont) Memory Registers (cont) Addressing Modes
A (Accumulator) Z (Zero Flag) PSW (Program Status Word) Direct Addressing
After performing arithmetical If an operation performed in It combines the Accumulator In this addressing mode, the or logical operations, the A results 0 value of entire 8- register with all the flag address of the operand (data) result is stored here bits then zero flag is set, else registers in a 16-bit format is given in the instruction it resets. itself. BC Note: A stack is nothing but a General-purpose register that AC (Auxiliary Carry Flag) portion of RAM (Random access Register Addressing is capable of storing 16-bit If an operation performed in memory). In register addressing mode, data (B - 8-bit) (C - 8-bit) A generates the carry from Each time when the data is the operand is in one of the lower nibble (D0 to D3) to loaded into stack, Stack pointer general purpose registers. DE upper nibble (D4 to D7) AC gets decremented. The opcode specifies the General-purpose register that flag is set, else it resets. Conversely it is incremented address of the register(s) in is capable of storing 16-bit when data is retrieved from addition to the operation to be data (D - 8-bit) (E - 8-bit) P (Parity Flag) stack. performed. If the result contains even no. HL A stack is treated as a 16-bit of ones this flag is set and for Register Indirect Addressing Usually used to store a entry and it consumes 2 odd no. of ones this flag is In Register Indirect mode of memory address Ex. (00 - H) locations from a memory for 1 reset. addressing, the address of (36 - L). It also creates a entry. the operand is specified by a hypothetical register labeled CY (Carry Flag) A stack requires a 16-bit register register pair. as 'M' If an operation performed in to be pointed to. A generates the carry from Immediate Addressing Note: The general purpose D7 to next stage then CY flag Machine Cycles In this addressing mode, the registers in 8085 processors are is set, else it is reset. Opcode Fetch Machine Cycle operand is specified within B, C, D, E, H and L. the instruction itself. Each register can hold 8-bit Note – The Auxiliary Carry flag 4T or 6T data. register in 8085 is the only flag Implicit Addressing Memory Read Machine Cycle They can work in pairs such as not accessible by the user. There are certain instructions 3T B-C, D-E and H-L to store 16-bit which operate on the content data. Memory Registers Memory Write Machine Cycle of the accumulator. Such The H-L pair works as a 3T instructions do not require the PC (Program Counter) memory pointer. address of the operand. Stores the address of the I/O Read Machine Cycle next instruction to be 3T Examples: Flag Registers executed. 1. Direct Addressing: I/O Write Machine Cycle S (Sign Flag) STA 2400H SP (Stack Pointer) 3T If MSB bit = 0 then the 2. Register Addressing: Stack pointer maintains the number is positive, else it is Most of the time, it's just 4T for MOV A, B address of the last byte that negative. the Opcode Fetch, there are 3. Register Indirect Addressing is entered into stack. only a few commands that LXI H, 2500 H require 6T MOV A, M 4. Immediate Addressing LXI H, 2500 5. Implicit Addressing CMA, RAL, RAR, etc.
By Deathtitan77 Published 6th May, 2020. Sponsored by CrosswordCheats.com
(Deathtitan77) Last updated 13th May, 2020. Learn to solve cryptic crosswords! Page 1 of 1. http://crosswordcheats.com