EE 6502 UNIT-II PROGRAMMING OF 8085 MICROPROCESSOR. Prepared by S.Sayeekumar, AP/RMDEEE

Similar documents
APPENDIX A Instruction Set. Op Code. T states Flags Main Effects. Instructions

EC - 311/ based Project

Programming Languages (CS 550)

M2 Instruction Set Architecture

Chapter 3: Computer Organization Fundamentals. Oregon State University School of Electrical Engineering and Computer Science.

Electrical Engineering Design & Drawing II. Prepared By: Sanjeev Kumar Kalra Lect. in Electrical Engg. Guru Gobind Singh Govt. Polytechnic, Cheeka

Chapter 10 And, Finally... The Stack

Lecture 14: Instruction Level Parallelism

JNC, JC, and JNZ Instructions for the WIMP51

Series 905-IV16(E) CAN/CANopen Input Modules Installation and Operating Manual

Linear/Gradient Flow Rate Ramping

1. Historical background of I2C I2C from a hardware perspective Bus Architecture The Basic I2C Protocol...

1014-CTC WARRANTY AND DISCLAIMER

2003 CVT when used with 2.2L L61 engine in the Saturn ION TRANSMISSION DIAGNOSTIC PARAMETERS

Circuit breaker wear monitoring function block description for railway application

1014-SCR WARRANTY AND DISCLAIMER Fillmore Street Davenport, Ia

or, with the time and date option enabled using the CommFlags command:

Cat/DCG-6D1I/07-08/03/Ver 1 Page 2/10

Data$Operation$Instructions. Data$Operation

Technical Guide TG-19-C-074-E A CALIBRE Thermo-compensated

DC POWER SUPPLY SYSTEMS

FabComp: Hardware specication

SmartPak Welding Controller WK-MPS-16 Constant Current

WARRANTY AND DISCLAIMER

EEM 451: Industrial Control Systems

A48P4616B. 16M X 16 Bit DDR DRAM. Document Title 16M X 16 Bit DDR DRAM. Revision History. AMIC Technology, Corp. Rev. No. History Issue Date Remark

Operating Instructions

Auto-Substitution Overview

MAGPOWR Spyder-Plus-S1 Tension Control

DS1250W 3.3V 4096k Nonvolatile SRAM

CPi. CoiL PACK IGNiTioN FOR AViATiON. For 4,6 and 8 cylinder 4 stroke applications. Please read the entire manual before beginning installation.

Outdoor vacuum breaker for railway applications - FSK II

DS1250Y/AB 4096k Nonvolatile SRAM

OPERATING INSTRUCTIONS AND SERVICE MANUAL RACETRACK SCOREBOARD MODEL MP-3805

APPLICATION NOTE Application Note for Torque Down Capper Application

OPERATING INSTRUCTION: DGC-6D/6D1I

Installation Instructions

AIR THROTTLE CONTROL MODEL# ATI-ANALOG PART#

Observe all necessary safety precautions when controlling the soft starter remotely. Alert personnel that machinery may start without warning.

HYB25D256400/800AT 256-MBit Double Data Rata SDRAM

CMU Introduction to Computer Architecture, Spring 2013 HW 3 Solutions: Microprogramming Wrap-up and Pipelining

RAM-Type Interface for Embedded User Flash Memory

CFX-750 Display with the Field-IQ System: Spraying /Strip Till/Anhydrous Application Quick Reference Card

Catalog of Lunar Seismic Data from Apollo Passive Seismic Experiment on 8-mm Video Cassette (Exabyte) Tapes

Digiflo. Digital Fuel Management System. OPERATING MANUAL Single and Twin Engine Indicators. Shadin. For P/N: 91052XP

Technical Bulletin, Communicating with Auto-Adjust Turbo Meter Gas Flowmeters

QGP Allegro Bus (Tiffin's ECM Template)

OPERATING INSTRUCTIONS

Contents. Introduction Features... 1 About AutoCal... 2 Installing Batteries... 4 Button Logic... 5 Messages Programming

TM8723. User s Manual

Installation Instructions

CPC02T. PGR002 Vehicle Parameters I. PGR003 Common Limiters. PGR005 Limiters LIM0 and LIM1. PGR006 Limiters AC and LIM2

MODEL MVX-2011 TANK MOUNT SPEEDOMETER/TACHOMETER

Rotel RSX-1065 RS232 HEX Protocol

Registers Shift Registers Accumulators Register Files Register Transfer Language. Chapter 8 Registers. SKEE2263 Digital Systems

Electro Pneumatic WorkStation Scientech 2470

QUESTION BANK III YEAR / V SEM CONTROL OF ELECTRICAL MACHINES UNIT I CONTROL CIRCUIT COMPONENTS PART - A

Not Recommended For New Designs. General Description

CIS 662: Sample midterm w solutions

STEPPER-BLOCKplus. Manual. Version: 2.0 As of: 06/2002 Author: Edmund Burger &RPSDFW6WHSSHU'ULYHU IRU3KDVH6WHSSLQJ0RWRUV. Main. Status-LED.

BMS RS-485 Card/Box Quick Guide Applicable for hybrid inverter 3KW-10KW

DS1230Y/AB 256k Nonvolatile SRAM

Installation Instructions

Rotel RSX-1067 RS232 HEX Protocol

Windows 10 x64 Edge Browser 0day and exploit. exp-sky

MANUAL STUDENT LAB STATION SERIAL# 1975

Tension Control Inverter

Fatima Michael College of Engineering & Technology

Motor Tuning Instructions

Section 5 Software v1.3

Installation and Operating Manual

K.L.N. COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING Course Outcomes, PO & PSO Mapping Regulation 2013

Products Tde Macno. User s Manual BRAKING UNIT. Cod. MP00401E00 V_1.0

AT30 SERIES BATTERY CHARGER

ST950 LRT Handbook 667/HB/46000/002

Harris IRT Enterprises Digital Resistance Tester Model XP

GENERAL INFORMATION. H-1649, H-1650, H-1651 H-1653, H-1654 Easy-Count. uline.com. that may hurt accuracy:

Rotel RSX-1055 RS232 HEX Protocol

Specifications - Installation and Operating Instructions Ø5 [127.00] 17/64 [6.91] 1-59/64 [48.89]

6. NC PROGRAMMJJNG G CODE / DYNA CODE LIST G DYNA CODE CODE DESCR1PTION TYPE

FLEXnet DC Programming & Guidelines

Electro Pneumatic Workbench Scientech 2470

Wideband Failsafe Gauge Parts List

Controller Test Procedure

Advanced Test Equipment Rentals ATEC (2832)

Doc: MGA-µS Version: 1.0 Page 2 of 6

TM8722. User s Manual

ATevo SERIES BATTERY CHARGER

AT EVO SERIES BATTERY CHARGER

DS1245Y/AB 1024k Nonvolatile SRAM

References. Infrared Array Sensor Grid-EYE Unit Type AMGU Part Name : Infrared Array Sensor Grid-EYE Unit Type. 2. Part No.

Modulating Furnace Information. Warning on Meter Setting - Read First!

GTFM V. Operation / Installation Manual. Gas Turbine Flow Monitor. Computer Weld Technology, Inc. Manual Part Number: A8M5026 Revised: 09/11/2013

CFM-20/40/100/200/300

GENERAL MOTORS SERVICE PARTS OPERATION 6200 Grand Pointe Drive, Grand Blanc, MI 48439

Electronic Test Fuze. Hamish Malin. NSWCDD G33 Precision and Advanced Systems Branch

HYB25D256[400/800/160]B[T/C](L) 256-Mbit Double Data Rate SDRAM, Die Rev. B Data Sheet Jan. 2003, V1.1. Features. Description

INSTALLATION/OPERATING INSTRUCTIONS TSC

128Mb DDR SDRAM. Features. Description. REV 1.1 Oct, 2006

Te 803 Electronic Controller. Service, Operation & Technical Information Manual

Transcription:

EE 6502 UNIT-II PROGRAMMING OF 8085 MICROPROCESSOR Prepared by S.Sayeekumar, AP/RMDEEE

7

12

15

PSW (Program Status word) - Flag unaffected * affected 0 reset 1 set S Sign (Bit 7) Z Zero (Bit 6) AC Auxiliary Carry (Bit 4) P Parity (Bit 2) CY Carry (Bit 0)

42

43

44

45

46

47

48

49

50

51

52

53

54

55

circular Left shift 56

circular right shift 57

58

59

60

61

62

63

64

65

66

67

68

69

70

SUMMARY DATA TRANSFER MOV Move MVI Move Immediate LDA Load Accumulator Directly from Memory STA Store Accumulator Directly in Memory LHLD Load H & L Registers Directly from Memory SHLD Store H & L Registers Directly in Memory 71

SUMMARY DATA TRANSFER An 'X' in the name of a data transfer instruction implies that it deals with a register pair (16-bits); LXI LDAX STAX XCHG XTHL Load Register Pair with Immediate data Load Accumulator from Address in Register Pair Store Accumulator in Address in Register Pair Exchange H & L with D & E Exchange Top of Stack with H & L 72

SUMMARY - ARITHMETIC GROUP Add, Subtract, Increment / Decrement data in registers or memory. ADD ADI ADC ACI SUB SUI SBB SBI INR DCR INX DCX DAD Add to Accumulator Add Immediate Data to Accumulator Add to Accumulator Using Carry Flag Add Immediate data to Accumulator Using Carry Subtract from Accumulator Subtract Immediate Data from Accumulator Subtract from Accumulator Using Borrow (Carry) Flag Subtract Immediate from Accumulator Using Borrow (Carry) Flag Increment Specified Byte by One Decrement Specified Byte by One Increment Register Pair by One Decrement Register Pair by One 73 Double Register Add; Add Content of Register Pair to H & L Register Pair

SUMMARY LOGICAL GROUP This group performs logical (Boolean) operations on data in registers and memory and on condition flags. These instructions enable you to set specific bits in the accumulator ON or OFF. ANA Logical AND with Accumulator ANI Logical AND with Accumulator Using Immediate Data ORA Logical OR with Accumulator OR Logical OR with Accumulator Using Immediate Data XRA Exclusive Logical OR with Accumulator XRI Exclusive OR Using Immediate Data 74

The Compare instructions compare the content of an 8-bit value with the contents of the accumulator; CMP CPI Compare Compare Using Immediate Data The rotate instructions shift the contents of the accumulator one bit position to the left or right: RLC RRC RAL RAR Rotate Accumulator Left Rotate Accumulator Right Rotate Left Through Carry Rotate Right Through Carry Complement and carry flag instructions: CMA CMC STC Complement Accumulator Complement Carry Flag Set Carry Flag 75

SUMMARY - BRANCH GROUP Unconditional branching JMP Jump CALL Call RET Return Conditions NZ Not Zero (Z = 0) Z Zero (Z = 1) NC No Carry (C = 0) C Carry (C = 1) PO Parity Odd (P = 0) PE Parity Even (P = 1) P Plus (S = 0) M Minus (S = 1) Conditional branching 76

SUMMARY - STACK PUSH POP XTHL SPHL Push Two bytes of Data onto the Stack Pop Two Bytes of Data off the Stack Exchange Top of Stack with H & L Move content of H & L to Stack Pointer 77

I/0 INSTRUCTIONS IN OUT Initiate Input Operation Initiate Output Operation 78

SUMMARY -MACHINE CONTROL INSTRUCTIONS EI DI HLT NOP Enable Interrupt System Disable Interrupt System Halt No Operation 79