6.2 Instruction Set Summary

Size: px
Start display at page:

Download "6.2 Instruction Set Summary"

Transcription

1 6.2 Instruction Set Summary This section summarizes the instruction set and instruction set opcodes for the C5x. Table 6 4 through Table 6 10 alphabetically list the C5x instructions within the following functional groups: Accumulator memory reference instructions (Table 6 4) Auxiliary registers and data memory page pointer instructions (Table 6 5 on page 6-13) Parallel logic unit (PLU) instructions (Table 6 6 on page 6-14) TREG0, PREG, and multiply instructions (Table 6 7 on page 6-15) Branch and call instructions (Table 6 8 on page 6-17) I/O and data memory operation instructions (Table 6 9 on page 6-20) Control instructions (Table 6 10 on page 6-21) The number of words that an instruction occupies in program memory is specified in the Words column of the table. Several instructions specify two values in the Words column because different forms of the instruction occupy a different number of words. For example, the ADD instruction occupies one word when the operand is a short immediate value or two words if the operand is a long immediate value. The number of cycles that an instruction requires to execute is in the Cycles column of the table. The tables assume that all instructions are executed from internal program memory (ROM) and internal data memory (RAM). The cycle timings are for single-instruction execution, not for repeat mode. Additional information is presented in Section 6.3, Instruction Set Descriptions on page Bold typeface indicates instructions that are new for the C5x instruction set. A read or write access to any peripheral memory-mapped register in data s 20h 4Fh will add one cycle to the cycle time shown. This occurs because all peripherals perform these accesses over the TI Bus, which requires an additional cycle. Note that all writes to external memory require two cycles. Reads require one cycle. Any write access immediately before or after a read cycle will require three cycles (refer to Chapter 8). In addition, if two pipelined instructions try to access the same 2K-word single-access memory block simultaneously, one 6-8

2 extra cycle is required. For example, the DMOV instruction when used with the RPT instruction, requires one cycle in the dual-access RAM but requires two cycles in the single-access RAM. Wait states are added to all external accesses according to the configuration of the software wait-state registers described in Section 9.4, Software-Programmable Wait-State Generators, on page Table 6 4. Accumulator Memory Reference Instructions Mnemonic Description ABS Absolute value of ACC; zero carry bit ADCB Add ACCB and carry bit to ACC ADD Add data memory value, with left shift, to ACC Add data memory value, with left shift of 16, to ACC SHFT IAAA AAAA IAAA AAAA 6-32 Add short immediate to ACC kkkk kkkk 6-32 Add long immediate, with left shift, to ACC SHFT 6-32 ADDB Add ACCB to ACC ADDC ADDS ADDT AND Add data memory value and carry bit to ACC with sign extension suppressed Add data memory value to ACC with sign extension suppressed Add data memory value, with left shift specified by TREG1, to ACC AND data memory value with ACCL; zero ACCH IAAA AAAA IAAA AAAA IAAA AAAA IAAA AAAA 6-44 AND long immediate, with left shift, with ACC AND long immediate, with left shift of 16, with ACC SHFT ANDB AND ACCB with ACC BSAR Barrel-shift ACC right SHFT 6-83 Peripheral memory-mapped register access Assembly Language Instructions 6-9

3 Table 6 4. Accumulator Memory Reference Instructions (Continued) Mnemonic Description CMPL 1s complement ACC CRGT CRLT Store ACC in ACCB if ACC > ACCB Store ACC in ACCB if ACC < ACCB EXAR Exchange ACCB with ACC LACB Load ACC to ACCB LACC Load data memory value, with left shift, to ACC SHFT IAAA AAAA Load long immediate, with left shift, to ACC SHFT LACL LACT LAMM Load data memory value, with left shift of 16, to ACC ACCL; zero ACCH Load short immediate to ACCL; zero ACCH Load data memory value, with left shift specified by TREG1, to ACC Load contents of memorymapped register to ACCL; zero ACCH IAAA AAAA IAAA AAAA kkkk kkkk IAAA AAAA or IAAA AAAA NEG Negate (2s complement) ACC NORM Normalize ACC IAAA AAAA OR OR data memory value with ACCL IAAA AAAA OR long immediate, with left shift, with ACC OR long immediate, with left shift of 16, with ACC SHFT Peripheral memory-mapped register access 6-10

4 Table 6 4. Accumulator Memory Reference Instructions (Continued) Mnemonic Description ORB OR ACCB with ACC ROL Rotate ACC left 1 bit ROLB Rotate ACCB and ACC left 1 bit ROR Rotate ACC right 1 bit RORB Rotate ACCB and ACC right 1 bit SACB Store ACC in ACCB SACH SACL Store ACCH, with left shift, in data Store ACCL, with left shift, in data SHF IAAA AAAA SHF IAAA AAAA SAMM Store ACCL in memorymapped register 1 1 or IAAA AAAA SATH SATL Barrel-shift ACC right 0 or 16 bits as specified by TREG1 Barrel-shift ACC right as specified by TREG SBB Subtract ACCB from ACC SBBB Subtract ACCB and logical inversion of carry bit from ACC SFL Shift ACC left 1 bit SFLB Shift ACCB and ACC left 1 bit SFR Shift ACC right 1 bit SFRB Shift ACCB and ACC right 1 bit Peripheral memory-mapped register access Assembly Language Instructions 6-11

5 Table 6 4. Accumulator Memory Reference Instructions (Continued) Mnemonic SUB Description Subtract data memory value, with left shift, from ACC Subtract data memory value, with left shift of 16, from ACC Subtract short immediate from ACC SHFT IAAA AAAA IAAA AAAA kkkk kkkk Subtract long immediate, with left shift, from ACC SHFT SUBB Subtract data memory value and logical inversion of carry bit from ACC with sign extension suppressed IAAA AAAA SUBC Conditional subtract IAAA AAAA SUBS SUBT Subtract data memory value from ACC with sign extension suppressed Subtract data memory value, with left shift specified by TREG1, from ACC IAAA AAAA IAAA AAAA XOR Exclusive-OR data memory value with ACCL IAAA AAAA Exclusive-OR long immediate, with left shift of 16, with ACC Exclusive-OR long immediate, with left shift, with ACC SHFT XORB Exclusive-OR ACCB with ACC ZALR Zero ACCL and load ACCH with rounding IAAA AAAA ZAP Zero ACC and PREG Peripheral memory-mapped register access 6-12

6 Table 6 5. Auxiliary Registers and Data Memory Pointer Instructions Mnemonic Description ADRK Add short immediate to AR kkkk kkkk 6-43 CMPR Compare AR with ARCR as specified by CM bits CM 6-96 LAR ARx ARX IAAA AAAA Load short immediate to ARx ARX kkkk kkkk Load long immediate to ARx ARX LDP DP bits IAAA AAAA Load short immediate to DP bits I kkkk kkkk MAR Modify AR IAAA AAAA SAR SBRK Store ARx in data memory location Subtract short immediate from AR ARX IAAA AAAA kkkk kkkk Assembly Language Instructions 6-13

7 Table 6 6. Parallel Logic Unit (PLU) Instructions Mnemonic Description APL AND data memory value with DBMR, and store result in data IAAA AAAA 6-49 AND data memory value with long immediate and store result in data IAAA AAAA 6-49 CPL Compare data memory value with DBMR IAAA AAAA 6-98 Compare data memory value with long immediate IAAA AAAA 6-98 OPL OR data memory value with DBMR and store result in data IAAA AAAA OR data memory value with long immediate and store result in data IAAA AAAA SPLK Store long immediate in data IAAA AAAA XPL Exclusive-OR data memory value with DBMR and store result in data IAAA AAAA Exclusive-OR data memory value with long immediate and store result in data memory location IAAA AAAA LPH LT PREG high byte TREG IAAA AAAA IAAA AAAA

8 Table 6 7. TREG0, PREG, and Multiply Instructions Mnemonic Description LTA LTD LTP LTS TREG0; add PREG, with shift specified by PM bits, to ACC TREG0; add PREG, with shift specified by PM bits, to ACC; and move data TREG0; store PREG, with shift specified by PM bits, in ACC TREG0; subtract PREG, with shift specified by PM bits, from ACC IAAA AAAA IAAA AAAA IAAA AAAA IAAA AAAA MAC Add PREG, with shift specified by PM bits, to ACC; load data memory value to TREG0; multiply data memory value by program memory value and store result in PREG IAAA AAAA MACD Add PREG, with shift specified by PM bits, to ACC; load data memory value to TREG0; multiply data memory value by program memory value and store result in PREG; and move data IAAA AAAA MADD MADS Add PREG, with shift specified by PM bits, to ACC; load data memory value to TREG0; multiply data memory value by value specified in BMAR and store result in PREG; and move data Add PREG, with shift specified by PM bits, to ACC; load data memory value to TREG0; multiply data memory value by value specified in BMAR and store result in PREG IAAA AAAA IAAA AAAA Assembly Language Instructions 6-15

9 Table 6 7. TREG0, PREG, and Multiply Instructions (Continued) Mnemonic MPY Description Multiply data memory value by TREG0 and store result in PREG Multiply short immediate by TREG0 and store result in PREG IAAA AAAA k kkkk kkkk kkk Multiply long immediate by TREG0 and store result in PREG MPYA MPYS MPYU PAC SPAC SPAC SPH SPL Add PREG, with shift specified by PM bits, to ACC; multiply data memory value by TREG0 and store result in PREG Subtract PREG, with shift specified by PM bits, from ACC; multiply data memory value by TREG0 and store result in PREG Multiply unsigned data memory value by TREG0 and store result in PREG Load PREG, with shift specified by PM bits, to ACC Subtract PREG, with shift specified by PM bits, from ACC Subtract PREG, with shift specified by PM bits, from ACC Store PREG high byte, with shift specified by PM bits, in data Store PREG low byte, with shift specified by PM bits, in data IAAA AAAA IAAA AAAA IAAA AAAA IAAA AAAA IAAA AAAA SPM Set product shift mode (PM) bits PM SQRA Add PREG, with shift specified by PM bits, to ACC; load data memory value to TREG0; square value and store result in PREG IAAA AAAA

10 Table 6 7. TREG0, PREG, and Multiply Instructions (Continued) Mnemonic SQRS Description Subtract PREG, with shift specified by PM bits, from ACC; load data memory value to TREG0; square value and store result in PREG IAAA AAAA ZPR Zero PREG Table 6 8. Branch and Call Instructions Mnemonic Description B Branch unconditionally to program AAA AAAA 6-52 BACC BACCD Branch to program memory location specified by ACCL Delayed branch to program specified by ACCL BANZ Branch to program memory location if AR not zero 2 4 or 2# AAA AAAA 6-55 BANZD Delayed branch to program if AR not zero AAA AAAA 6-57 BCND Branch conditionally to program 2 4 or 2# TP ZLVC ZLVC 6-59 BCNDD Delayed branch conditionally to program TP ZLVC ZLVC 6-61 BD Delayed branch unconditionally to program AAA AAAA 6-63 CALA Call to subroutine addressed by ACCL Conditions true # Condition false Assembly Language Instructions 6-17

11 Table 6 8. Branch and Call Instructions (Continued) Mnemonic CALAD Description Delayed call to subroutine addressed by ACCL CALL Call to subroutine unconditionally AAA AAAA 6-86 CALLD Delayed call to subroutine unconditionally AAA AAAA 6-87 CC Call to subroutine conditionally 2 4 or 2# TP ZLVC ZLVC 6-89 CCD Delayed call to subroutine conditionally TP ZLVC ZLVC 6-91 INTR NMI Software interrupt that branches program control to program Nonmaskable interrupt and globally disable interrupts (INTM = 1) I NTR# RET Return from subroutine RETC RETCD Return from subroutine conditionally Delayed return from subroutine conditionally TP ZLVC ZLVC or 2# TP ZLVC ZLVC RETD Delayed return from subroutine RETE RETI Return from interrupt with context switch and globally enable interrupts (INTM = 0) Return from interrupt with context switch Conditions true # Condition false 6-18

12 Table 6 8. Branch and Call Instructions (Continued) Mnemonic TRAP Description Software interrupt that branches program control to program 22h XC Execute next instruction(s) conditionally N 01TP ZLVC ZLVC Conditions true # Condition false Assembly Language Instructions 6-19

13 Table 6 9. I/O and Data Memory Operation Instructions Mnemonic Description BLDD Block move from data to data memory Block move from data to data memory with destination address long immediate IAAA AAAA IAAA AAAA BLDP BLPD Block move from data to data memory with source address in BMAR Block move from data to data memory with destination address in BMAR Block move from data to program memory with destination address in BMAR Block move from program to data memory with source address in BMAR IAAA AAAA IAAA AAAA IAAA AAAA IAAA AAAA 6-77 Block move from program to data memory with source address long immediate IAAA AAAA 6-77 DMOV Move data in data memory IAAA AAAA IN LMMR OUT SMMR TBLR TBLW Input data from I/O port to data memory-mapped register Output data from data memory location to I/O port Store memory-mapped register in data Transfer data from program to data memory with source address in ACCL Transfer data from data to program memory with destination address in ACCL IAAA AAAA 2 2 or IAAA AAAA IAAA AAAA 2 2 or IAAA AAAA IAAA AAAA IAAA AAAA Peripheral memory-mapped register access 6-20

14 Table Control Instructions Mnemonic Description BIT Test bit BITX IAAA AAAA 6-64 BITT Test bit specified by TREG IAAA AAAA 6-66 CLRC Clear overflow mode (OVM) bit Clear sign extension mode (SXM) bit Clear hold mode (HM) bit Clear test/control (TC) bit Clear carry (C) bit Clear configuration control (CNF) bit Clear interrupt mode (INTM) bit Clear external flag (XF) pin IDLE IDLE2 Idle until nonmaskable interrupt or reset Idle until nonmaskable interrupt or reset low-power mode LST ST IAAA AAAA ST IAAA AAAA NOP No operation POP POPD PSHD Pop top of stack to ACCL; zero ACCH Pop top of stack to data memory location Push data memory value to top of stack IAAA AAAA IAAA AAAA PUSH Push ACCL to top of stack Assembly Language Instructions 6-21

15 Table Control Instructions (Continued) Mnemonic RPT Description Repeat next instruction specified by data memory value Repeat next instruction specified by short immediate IAAA AAAA kkkk kkkk Repeat next instruction specified by long immediate RPTB Repeat block of instructions specified by BRCR RPTZ Clear ACC and PREG; repeat next instruction specified by long immediate SETC Set overflow mode (OVM) bit Set sign extension mode (SXM) bit Set hold mode (HM) bit Set test/control (TC) bit Set carry (C) bit Set external flag (XF) pin high Set configuration control (CNF) bit Set interrupt mode (INTM) bit SST Store ST0 in data memory location Store ST1 in data memory location IAAA AAAA IAAA AAAA

Binary-to-Binary Translation Final Report. University of Texas at Austin Department of Electrical and Computer Engineering

Binary-to-Binary Translation Final Report. University of Texas at Austin Department of Electrical and Computer Engineering Binary-to-Binary Translation Final Report University of Texas at Austin Department of Electrical and Computer Engineering Juan Rubio Wade Schwartzkopf May 8, 1998 I. INTRODUCTION...4 II. HISTORY...4 III.

More information

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY DIGITAL SIGNAL PROCESSING DEPT./SEM.: ECE-V 1. Write the applications of barrel shifter UNIT -V PART-A The barrel shifter is also used for scaling operations such as: i. Prescaling an input data-memory

More information

Digital Signal Processor

Digital Signal Processor Digital Signal Processor TMS320LF2407 Sarath S Nair Assistant Professor Amrita University ARCHITECTURE OF TMS320LF2407A The TMS320LF2407A DSP controller is a programmable

More information

TMS320C203, TMS320C209, TMS320LC203 DIGITAL SIGNAL PROCESSORS

TMS320C203, TMS320C209, TMS320LC203 DIGITAL SIGNAL PROCESSORS Based Upon the T320C2xLP Core CPU 16-Bit Fixed-Point DSP Architecture Six Internal Buses for Increased Parallelism and Performance 32-Bit ALU/Accumulator 16 16-Bit Single-Cycle Multiplier With a 32-Bit

More information

TMS320F206 DIGITAL SIGNAL PROCESSOR

TMS320F206 DIGITAL SIGNAL PROCESSOR High-Performance Static CMOS Technology Includes the T320C2xLP Core CPU TMS320F206 is a Member of the TMS320C20x Generation, Which Also Includes the TMS320C203, and TMS320C209 Devices Instruction-Cycle

More information

SPRS065B JUNE 1998 REVISED JANUARY 1999

SPRS065B JUNE 1998 REVISED JANUARY 1999 High-Performance Static CMOS Technology Includes the 320C2xLP Core CPU TMS320C206, TMS320LC206 are Members of the C20x/ C2000 Platform Which Also Includes the TMS320C203/LC203 and TMS320F206 Devices Instruction-Cycle

More information

10-1 C D Pearson Education, Inc. M. Morris Mano & Charles R. Kime LOGIC AND COMPUTER DESIGN FUNDAMENTALS, 4e

10-1 C D Pearson Education, Inc. M. Morris Mano & Charles R. Kime LOGIC AND COMPUTER DESIGN FUNDAMENTALS, 4e 10-1 C D E A B 10-2 A B A B C (A B) C D A A B (A B) C E D (A B) C D E (A B) C + D E (A B) C 10-3 Opcode Mode Address or operand 10-4 Memory 250 Opcode Mode PC = 250 251 ADRS 252 Next instruction ACC Opcode:

More information

UNIT#3. Programmable Digital Signal Processors

UNIT#3. Programmable Digital Signal Processors UNIT#3 Programmable Digital Signal Processors 3.1 Introduction: Leading manufacturers of integrated circuits such as Texas Instruments (TI), Analog devices & Motorola manufacture the digital signal processor

More information

TYPES OF INTERRUPTS: -

TYPES OF INTERRUPTS: - There are 3 types of interrupts. TYPES OF INTERRUPTS: - External Interrupts. Internal Interrupts. Software interrupts. Hardware Interrupts (1) External interrupts come from I/O devices, from a timing device

More information

Microcontroller Intel [Instruction Set]

Microcontroller Intel [Instruction Set] Microcontroller Intel 8051 [Instruction Set] Structure of Assembly Language [ label: ] mnemonic [operands] [ ;comment ] Example: MOV R1, #25H ; load data 25H into R1 2 8051 Assembly Language Registers

More information

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller of 8085 microprocessor 8085 is pronounced as "eighty-eighty-five" microprocessor. It is an 8-bit microprocessor designed by Intel in 1977 using NMOS technology. It has the following configuration 8-bit

More information

TABLE 9-1. Symbolic Convention for Addressing Modes. Register indirect LDA (R1) ACC M[ R1] Refers to Figure 9-4. Addressing mode. Symbolic convention

TABLE 9-1. Symbolic Convention for Addressing Modes. Register indirect LDA (R1) ACC M[ R1] Refers to Figure 9-4. Addressing mode. Symbolic convention T-236 Symbolic Convention for Addressing Modes TABLE 9-1 Symbolic Convention for Addressing Modes Refers to Figure 9-4 Addressing mode Symbolic convention Register transfer Effective address Contents of

More information

Microprocessors 1. The 8051 Instruction Set. Microprocessors 1 1. Msc. Ivan A. Escobar Broitman

Microprocessors 1. The 8051 Instruction Set. Microprocessors 1 1. Msc. Ivan A. Escobar Broitman Microprocessors 1 The 8051 Instruction Set Microprocessors 1 1 Instruction Groups The 8051 has 255 instructions Every 8-bit opcode from 00 to FF is used except for A5. The instructions are grouped into

More information

Dodatak. Skup instrukcija

Dodatak. Skup instrukcija Dodatak Skup instrukcija Arithmetic Operations [@Ri] implies contents of memory location pointed to by R0 or R1 Rn refers to registers R0-R7 of the currently selected register bank 2 ADD A,

More information

Contents 8051 Instruction Set BY D. BALAKRISHNA, Research Assistant, IIIT-H Chapter I : Control Transfer Instructions Lesson (a): Loop Lesson (b): Jump (i) Conditional Lesson (c): Lesson (d): Lesson (e):

More information

8051 Overview and Instruction Set

8051 Overview and Instruction Set 8051 Overview and Instruction Set Curtis A. Nelson Engr 355 1 Microprocessors vs. Microcontrollers Microprocessors are single-chip CPUs used in microcomputers Microcontrollers and microprocessors are different

More information

INSTRUCTION SET AND EXECUTION

INSTRUCTION SET AND EXECUTION SECTION 6 INSTRUCTION SET AND EXECUTION Fetch F1 F2 F3 F3e F4 F5 F6 Decode D1 D2 D3 D3e D4 D5 Execute E1 E2 E3 E3e E4 Instruction Cycle: 1 2 3 4 5 6 7 MOTOROLA INSTRUCTION SET AND EXECUTION 6-1 SECTION

More information

UNIT 2 THE 8051 INSTRUCTION SET AND PROGRAMMING

UNIT 2 THE 8051 INSTRUCTION SET AND PROGRAMMING UNIT 2 THE 8051 INSTRUCTION SET AND PROGRAMMING Instructions Alphabetical List of Instructions ACALL: Absolute Call ADD, ADDC: Add Accumulator (With Carry) AJMP: Absolute Jump ANL: Bitwise AND CJNE: Compare

More information

Microcontroller. Instruction set of 8051

Microcontroller. Instruction set of 8051 UNIT 2: Addressing Modes and Operations: Introduction, Addressing modes, External data Moves, Code Memory, Read Only Data Moves / Indexed Addressing mode, PUSH and POP Opcodes, Data exchanges, Example

More information

Question Bank Part-A UNIT I- THE 8086 MICROPROCESSOR 1. What is microprocessor? A microprocessor is a multipurpose, programmable, clock-driven, register-based electronic device that reads binary information

More information

SOEN228, Winter Revision 1.2 Date: October 25,

SOEN228, Winter Revision 1.2 Date: October 25, SOEN228, Winter 2003 Revision 1.2 Date: October 25, 2003 1 Contents Flags Mnemonics Basic I/O Exercises Overview of sample programs 2 Flag Register The flag register stores the condition flags that retain

More information

SN8F5000 Family Instruction Set

SN8F5000 Family Instruction Set SONiX Technology Co., Ltd. 8051-based Microcontroller 1 Overview SN8F5000 is 8051 Flash Type microcontroller supports comprehensive assembly instructions and which are fully compatible with standard 8051.

More information

1 The mnemonic that is placed before the arithmetic operation is performed is A. AAA B. AAS C. AAM D. AAD ANSWER: D

1 The mnemonic that is placed before the arithmetic operation is performed is A. AAA B. AAS C. AAM D. AAD ANSWER: D 1 The mnemonic that is placed before the arithmetic operation is performed is B. AAS C. AAM D. AAD 2 The Carry flag is undefined after performing the operation B. ADC C. AAD D. AAM 3 The instruction that

More information

Q. Classify the instruction set of 8051 and list out the instructions in each type.

Q. Classify the instruction set of 8051 and list out the instructions in each type. INTRODUCTION Here is a list of the operands and their meanings: A - accumulator; Rn - is one of working registers (R0-R7) in the currently active RAM memory bank; Direct - is any 8-bit address register

More information

Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples.

Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples. MICROCONTROLLERS AND APPLICATIONS 1 Module 2 Module-2 Contents: Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples. MEMORY

More information

Programming of 8085 microprocessor and 8051 micro controller Study material

Programming of 8085 microprocessor and 8051 micro controller Study material 8085 Demo Programs Now, let us take a look at some program demonstrations using the above instructions Adding Two 8-bit Numbers Write a program to add data at 3005H & 3006H memory location and store the

More information

Exercise 3-1. The Program Controller EXERCISE OBJECTIVES

Exercise 3-1. The Program Controller EXERCISE OBJECTIVES Exercise 3-1 The Program Controller EXERCISE OBJECTIVES Upon completion of this exercise, you will be familiar with the function of the hardware and software features that digital signal processors have

More information

(2) Explain the addressing mode of OR What do you mean by addressing mode? Explain diff. addressing mode for 8085 with examples.

(2) Explain the addressing mode of OR What do you mean by addressing mode? Explain diff. addressing mode for 8085 with examples. (1) Explain instruction format and Opcode format of 8085 μp with example. OR With help of examples, explain the formation of opcodes of 8085 OR What is an instruction? List type of instruction based on

More information

Instruction Set Instruction set of 8085 can be classified in following groups: Data Transfer Instructions These instructions can perform data transfer operations between Registers of 8085 e.g. MOV 8085

More information

DR bit RISC Microcontroller. Instructions set details ver 3.10

DR bit RISC Microcontroller. Instructions set details ver 3.10 DR80390 8-bit RISC Microcontroller Instructions set details ver 3.10 DR80390 Instructions set details - 2 - Contents 1. Overview 7 1.1. Document structure. 7 2. Instructions set brief 7 2.1. Instruction

More information

AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo

AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo 1 Lecture Overview AVR ISA AVR Instructions & Programming (I) Basic construct implementation 2 Atmel AVR 8-bit RISC architecture

More information

3.1 DATA MOVEMENT INSTRUCTIONS 45

3.1 DATA MOVEMENT INSTRUCTIONS 45 3.1.1 General-Purpose Data Movement s 45 3.1.2 Stack Manipulation... 46 3.1.3 Type Conversion... 48 3.2.1 Addition and Subtraction... 51 3.1 DATA MOVEMENT INSTRUCTIONS 45 MOV (Move) transfers a byte, word,

More information

Assembly Language Programming of 8085

Assembly Language Programming of 8085 Assembly Language Programming of 8085 Topics 1. Introduction 2. Programming model of 8085 3. Instruction set of 8085 4. Example Programs 5. Addressing modes of 8085 6. Instruction & Data Formats of 8085

More information

UNIT THE 8051 INSTRUCTION SET AND PROGRAMMING

UNIT THE 8051 INSTRUCTION SET AND PROGRAMMING UNIT THE 8051 INSTRUCTION SET AND PROGRAMMING Instructions Alphabetical List of Instructions ACALL: Absolute Call ADD, ADDC: Add Accumulator (With Carry) AJMP: Absolute Jump ANL: Bitwise AND CJNE: Compare

More information

INSTRUCTION SET OF 8085

INSTRUCTION SET OF 8085 INSTRUCTION SET OF 8085 Instruction Set of 8085 An instruction is a binary pattern designed inside a microprocessor to perform a specific function. The entire group of instructions that a microprocessor

More information

Assembly Language Programming of 8085

Assembly Language Programming of 8085 Assembly Language Programming of 8085 1. Introduction A microprocessor executes instructions given by the user Instructions should be in a language known to the microprocessor Microprocessor understands

More information

TMS320C54x DSP Reference Set

TMS320C54x DSP Reference Set TMS320C54x DSP Reference Set Volume 3: Algebraic Instruction Set Literature Number: March 2001 Printed on Recycled Paper IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to

More information

Accumulator and memory instructions 1. Loads, stores, and transfers 2. Arithmetic operations 3. Multiply and divide 4. Logical operations 5. Data test

Accumulator and memory instructions 1. Loads, stores, and transfers 2. Arithmetic operations 3. Multiply and divide 4. Logical operations 5. Data test HC11 Instruction Set Instruction classes 1. 2. 3. 4. Accumulator and Memory Stack and Index Register Condition Code Register Program control instructions 2 1 Accumulator and memory instructions 1. Loads,

More information

Exercise 2-3. Addressing EXERCISE OBJECTIVES

Exercise 2-3. Addressing EXERCISE OBJECTIVES Exercise 2-3 Addressing EXERCISE OBJECTIVES Upon completion of this exercise, you will understand the function that of address generation unit within a DSP and the specialized addressing modes that it

More information

TMS320C5x Interrupt Response Time

TMS320C5x Interrupt Response Time TMS320 DSP DESIGNER S NOTEBOOK TMS320C5x Interrupt Response Time APPLICATION BRIEF: SPRA220 Jeff Beinart Digital Signal Processing Products Semiconductor Group Texas Instruments March 1993 IMPORTANT NOTICE

More information

MSP430 instruction set *

MSP430 instruction set * OpenStax-CNX module: m23503 1 MSP430 instruction set * Pedro Dinis António Espírito Santo Bruno Ribeiro This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License

More information

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY CHAPTER 5 : Introduction to Intel 8085 Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY The 8085A(commonly known as the 8085) : Was first introduced in March 1976 is an 8-bit microprocessor with 16-bit address

More information

ET2640 Microprocessors

ET2640 Microprocessors ET2640 Microprocessors Unit -2 Processor Programming Concepts Basic Control Instructor : Stan Kong Email : skong@itt-tech.edu Figure 2 4 Bits of the PSW Register 8051 REGISTER BANKS AND STACK 80 BYTES

More information

AVR ISA & AVR Programming (I)

AVR ISA & AVR Programming (I) AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo Week 1 1 Lecture Overview AVR ISA AVR Instructions & Programming (I) Basic construct implementation Week 1 2 1 Atmel AVR 8-bit

More information

8085 INSTRUCTION SET INSTRUCTION DETAILS

8085 INSTRUCTION SET INSTRUCTION DETAILS 8085 INSTRUCTION SET INSTRUCTION DETAILS DATA TRANSFER INSTRUCTIONS MOV Rd, Rs Copy from source to destination This instruction copies the contents of the source register Rs into the destination register

More information

AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo

AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo 1 Lecture Overview AVR ISA AVR Instructions & Programming (I) Basic construct implementation 2 Atmel AVR 8-bit RISC architecture

More information

CHAPTER ASSEMBLY LANGUAGE PROGRAMMING

CHAPTER ASSEMBLY LANGUAGE PROGRAMMING CHAPTER 2 8051 ASSEMBLY LANGUAGE PROGRAMMING Registers Register are used to store information temporarily: A byte of data to be processed An address pointing to the data to be fetched The vast majority

More information

CSIS1120A. 10. Instruction Set & Addressing Mode. CSIS1120A 10. Instruction Set & Addressing Mode 1

CSIS1120A. 10. Instruction Set & Addressing Mode. CSIS1120A 10. Instruction Set & Addressing Mode 1 CSIS1120A 10. Instruction Set & Addressing Mode CSIS1120A 10. Instruction Set & Addressing Mode 1 Elements of a Machine Instruction Operation Code specifies the operation to be performed, e.g. ADD, SUB

More information

TUTORIAL Assembly Language programming (2)

TUTORIAL Assembly Language programming (2) 8051 Assembly Language programming (2) TUTORIAL 4 EEE3410 Microcontroller Applications 1. Write the instructions to move value 34h into register A and value 3Fh into register B, then add them together.

More information

TMS320C55x DSP CPU Reference Guide Preliminary Draft

TMS320C55x DSP CPU Reference Guide Preliminary Draft TMS320C55x DSP CPU Reference Guide Preliminary Draft This document contains preliminary data current as of the publication date and is subject to change without notice Literature Number: SPRU371D May 2001

More information

8051 Microcontrollers

8051 Microcontrollers 8051 Microcontrollers Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu March 15, 2016 8051 INSTRUCTIONS JUMP, LOOP AND CALL INSTRUCTIONS 8051 INSTRUCTIONS Repeating a sequence of instructions

More information

ENE 334 Microprocessors

ENE 334 Microprocessors Page 1 ENE 334 Microprocessors Lecture 10: MCS-51: Logical and Arithmetic : Dejwoot KHAWPARISUTH http://webstaff.kmutt.ac.th/~dejwoot.kha/ ENE 334 MCS-51 Logical & Arithmetic Page 2 Logical: Objectives

More information

9/25/ Software & Hardware Architecture

9/25/ Software & Hardware Architecture 8086 Software & Hardware Architecture 1 INTRODUCTION It is a multipurpose programmable clock drive register based integrated electronic device, that reads binary instructions from a storage device called

More information

DSP VLSI Design. Instruction Set. Byungin Moon. Yonsei University

DSP VLSI Design. Instruction Set. Byungin Moon. Yonsei University Byungin Moon Yonsei University Outline Instruction types Arithmetic and multiplication Logic operations Shifting and rotating Comparison Instruction flow control (looping, branch, call, and return) Conditional

More information

Instruction Sets: Characteristics and Functions Addressing Modes

Instruction Sets: Characteristics and Functions Addressing Modes Instruction Sets: Characteristics and Functions Addressing Modes Chapters 10 and 11, William Stallings Computer Organization and Architecture 7 th Edition What is an Instruction Set? The complete collection

More information

Fig: Computer memory with Program, data, and Stack. Blog - NEC (Autonomous) 1

Fig: Computer memory with Program, data, and Stack. Blog -   NEC (Autonomous) 1 Central Processing Unit 1. Stack Organization A useful feature that is included in the CPU of most computers is a stack or last in, first out (LIFO) list. A stack is a storage device that stores information

More information

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture Department of Electrical Engineering Lecture 4 The 8051 Architecture 1 In this Lecture Overview General physical & operational features Block diagram Pin assignments Logic symbol Hardware description Pin

More information

Intel 8086 MICROPROCESSOR. By Y V S Murthy

Intel 8086 MICROPROCESSOR. By Y V S Murthy Intel 8086 MICROPROCESSOR By Y V S Murthy 1 Features It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 2 20 memory locations (1 MB). It can support up to 64K I/O ports. It provides 14,

More information

COMPUTER HARDWARE. Instruction Set Architecture

COMPUTER HARDWARE. Instruction Set Architecture COMPUTER HARDWARE Instruction Set Architecture Overview Computer architecture Operand addressing Addressing architecture Addressing modes Elementary instructions Data transfer instructions Data manipulation

More information

H8/300L Series Programming Manual

H8/300L Series Programming Manual H8/300L Series Programming Manual Notice When using this document, keep the following in mind: 1. This document may, wholly or partially, be subject to change without notice. 2. All rights are reserved:

More information

Module Contents of the Module Hours COs

Module Contents of the Module Hours COs Microcontrollers (EE45): Syllabus: Module Contents of the Module Hours COs 1 8051 MICROCONTROLLER ARCHITECTURE: Introduction to Microprocessors and Microcontrollers, the 8051 Architecture, 08 1 and pin

More information

8051 Microcontrollers

8051 Microcontrollers 8051 Microcontrollers Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu March 8, 2016 Controller vs Processor Controller vs Processor Introduction to 8051 Micro-controller In 1981,Intel corporation

More information

complement) Multiply Unsigned: MUL (all operands are nonnegative) AX = BH * AL IMUL BH IMUL CX (DX,AX) = CX * AX Arithmetic MUL DWORD PTR [0x10]

complement) Multiply Unsigned: MUL (all operands are nonnegative) AX = BH * AL IMUL BH IMUL CX (DX,AX) = CX * AX Arithmetic MUL DWORD PTR [0x10] The following pages contain references for use during the exam: tables containing the x86 instruction set (covered so far) and condition codes. You do not need to submit these pages when you finish your

More information

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor Subject Name: Microprocessor and Microcontroller Year: 3 rd Year Subject Code: CS502 Semester: 5 th Module Day Assignment 1 Microprocessor

More information

Digital Blocks Semiconductor IP

Digital Blocks Semiconductor IP Digital Blocks Semiconductor IP 805 Microcontroller General Description The Digital Blocks Microcontroller Verilog IP Core is complaint with the MCS 5 Instruction Set and contains standard 805 MCU peripherals,

More information

Chapter 8 Architecture and Instruction Set

Chapter 8 Architecture and Instruction Set Chapter 8 8-1 Introduction 8.1 Introduction The instruction set of the ultra low power-microcomputer MSP430 family differs strongly from the instruction sets used by other 8-bit and 16-bit microcomputers.

More information

BHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013)

BHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013) BHARATHIDASAN ENGINEERING COLLEGE III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013) FREQUENTLY ASKED QUESTIONS IN UNIVERSITY EXAMINATION PART A UNIT 1-8085 PROCESSOR 1. Draw the

More information

7/7/2013 TIFAC CORE IN NETWORK ENGINEERING

7/7/2013 TIFAC CORE IN NETWORK ENGINEERING TMS320C50 Architecture 1 OVERVIEW OF DSP PROCESSORS BY Dr. M.Pallikonda Rajasekaran, Professor/ECE 2 3 4 Short history of DSPs 1960 DSP hardware using discrete components 1970 Monolithic components for

More information

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers 1. Define microprocessors? UNIT-I A semiconductor device(integrated circuit) manufactured by using the LSI technique. It includes

More information

Digital Blocks Semiconductor IP

Digital Blocks Semiconductor IP 805 SFR Bus Digital Blocks Semiconductor IP 805 Microcontroller Configurable Peripherals General Description The Digital Blocks (Configurable Peripherals) Microcontroller Verilog IP Core is complaint with

More information

Dragonchip. Instruction Set Manual

Dragonchip. Instruction Set Manual Dragonchip Instruction Set Manual Version 3.1 July 2004 The Objective of this document is to provide the user a detail description to the each instruction set used in Dragonchip s MCU family. There are

More information

Internal architecture of 8086

Internal architecture of 8086 Case Study: Intel Processors Internal architecture of 8086 Slide 1 Case Study: Intel Processors FEATURES OF 8086 It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 220 memory locations (1

More information

C55x v3.x CPU. Reference Guide. Literature Number: SWPU073E June 2009

C55x v3.x CPU. Reference Guide. Literature Number: SWPU073E June 2009 C55x v3x CPU Reference Guide Literature Number: SWPU073E June 2009 ADVANCE INFORMATION concerns new products in the sampling or preproduction phase of development Characteristic data and other specifications

More information

Lecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers.

Lecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers. Lecture 5: Computer Organization Instruction Execution Computer Organization Addressing Buses Fetch-Execute Cycle Computer Organization CPU Control Unit U Input Output Memory Components Control Unit fetches

More information

EE 5340/7340 Motorola 68HC11 Microcontroler Lecture 1. Carlos E. Davila, Electrical Engineering Dept. Southern Methodist University

EE 5340/7340 Motorola 68HC11 Microcontroler Lecture 1. Carlos E. Davila, Electrical Engineering Dept. Southern Methodist University EE 5340/7340 Motorola 68HC11 Microcontroler Lecture 1 Carlos E. Davila, Electrical Engineering Dept. Southern Methodist University What is Assembly Language? Assembly language is a programming language

More information

The due date for submitting this assignment has passed. 1) How many times will the following loop be executed? Depends on the initial value of A

The due date for submitting this assignment has passed. 1) How many times will the following loop be executed? Depends on the initial value of A X reviewer2@nptel.iitm.ac.in Courses» and Microcontrollers Unit 4 - Week 3 Announcements Course Ask a Question Progress Mentor Course outline How to access the portal Week 3 Assignment The due date for

More information

1-Operand instruction types 1 INC/ DEC/ NOT/NEG R/M. 2 PUSH/ POP R16/M16/SR/F 2 x ( ) = 74 opcodes 3 MUL/ IMUL/ DIV/ DIV R/M

1-Operand instruction types 1 INC/ DEC/ NOT/NEG R/M. 2 PUSH/ POP R16/M16/SR/F 2 x ( ) = 74 opcodes 3 MUL/ IMUL/ DIV/ DIV R/M Increment R16 1-Operand instruction types 1 INC/ DEC/ NOT/NEG R/M 4 x (16+48) = 256 opcodes 2 PUSH/ POP R16/M16/SR/F 2 x (8+24+4+1) = 74 opcodes 3 MUL/ IMUL/ DIV/ DIV R/M 4 x (16+48) = 256 opcodes INC

More information

Intel 8086 MICROPROCESSOR ARCHITECTURE

Intel 8086 MICROPROCESSOR ARCHITECTURE Intel 8086 MICROPROCESSOR ARCHITECTURE 1 Features It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 2 20 memory locations (1 MB). It can support up to 64K I/O ports. It provides 14, 16

More information

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER OBJECT: EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER To understand the structure and operating instruction of the microprocessor trainer. INTRODUCTION: The MKT 8085 is a single-board microcomputer,

More information

Digital Blocks Semiconductor IP

Digital Blocks Semiconductor IP Digital Blocks Semiconductor IP DB805C-FSM 805 Microcontroller FSM Finite State Machine General Description The Digital Blocks DB805C-FSM IP Core contains Digital Blocks compact DB805C CPU Core & GPIO

More information

Instruction Set Of 8051

Instruction Set Of 8051 Instruction Set Of 8051 By Darshan Patel M.Tech (Power Electronics & Drives) Assistant Professor, Electrical Department Sankalchand Patel college of Engineering-Visnagar Introduction The process of writing

More information

CN310 Microprocessor Systems Design

CN310 Microprocessor Systems Design CN310 Microprocessor Systems Design Instruction Set (AVR) Nawin Somyat Department of Electrical and Computer Engineering Thammasat University Outline Course Contents 1 Introduction 2 Simple Computer 3

More information

COSC 243. Instruction Sets And Addressing Modes. Lecture 7&8 Instruction Sets and Addressing Modes. COSC 243 (Computer Architecture)

COSC 243. Instruction Sets And Addressing Modes. Lecture 7&8 Instruction Sets and Addressing Modes. COSC 243 (Computer Architecture) COSC 243 Instruction Sets And Addressing Modes 1 Overview This Lecture Source Chapters 12 & 13 (10 th editition) Textbook uses x86 and ARM (we use 6502) Next 2 Lectures Assembly language programming 2

More information

The Design of a Custom 32-Bit SIMD Enhanced Digital Signal Processor

The Design of a Custom 32-Bit SIMD Enhanced Digital Signal Processor Rochester Institute of Technology RIT Scholar Works Theses Thesis/Dissertation Collections 12-2017 The Design of a Custom 32-Bit SIMD Enhanced Digital Signal Processor Shashank Simha ss7841@rit.edu Follow

More information

8086 INTERNAL ARCHITECTURE

8086 INTERNAL ARCHITECTURE 8086 INTERNAL ARCHITECTURE Segment 2 Intel 8086 Microprocessor The 8086 CPU is divided into two independent functional parts: a) The Bus interface unit (BIU) b) Execution Unit (EU) Dividing the work between

More information

AVR Microcontrollers Architecture

AVR Microcontrollers Architecture ก ก There are two fundamental architectures to access memory 1. Von Neumann Architecture 2. Harvard Architecture 2 1 Harvard Architecture The term originated from the Harvard Mark 1 relay-based computer,

More information

Introduction. 3 major parts of CPU : Fig Design Examples of simple CPU. In this chapter : Chap. 8. Chap. 8 Central Processing Unit

Introduction. 3 major parts of CPU : Fig Design Examples of simple CPU. In this chapter : Chap. 8. Chap. 8 Central Processing Unit Central Processing Unit 8-1 Introduction 3 major parts of CPU : Fig. 8-1 1) Register Set 2) ALU 3) Control Design Examples of simple CPU Hardwired Control : Chap. 5 Microprogrammed Control : Chap. 7 In

More information

TMS320C54x DSP Reference Set

TMS320C54x DSP Reference Set TMS320C54x DSP Reference Set Volume 3: Algebraic Instruction Set Literature Number: SPRU179B June 1998 Printed on Recycled Paper IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the

More information

By: Dr. Hamed Saghaei

By: Dr. Hamed Saghaei By: Dr. Hamed Saghaei The AVR RISC Microcontroller supports powerful and efficient addressing modes for access to the program memory (Flash) and data memory (SRAM). This section describes the different

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller EE4380 Fall 2001 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas 8051 Architecture Programmer s View Register Set Instruction Set Memory

More information

Computer Organization and Technology Processor and System Structures

Computer Organization and Technology Processor and System Structures Computer Organization and Technology Processor and System Structures Assoc. Prof. Dr. Wattanapong Kurdthongmee Division of Computer Engineering, School of Engineering and Resources, Walailak University

More information

Suitability of the TMS320 Digital Signal Processor in Digital Signal Processing Applications Requiring Multiple-Precision

Suitability of the TMS320 Digital Signal Processor in Digital Signal Processing Applications Requiring Multiple-Precision University of Central Florida Retrospective Theses and Dissertations Masters Thesis (Open Access) Suitability of the TMS320 Digital Signal Processor in Digital Signal Processing Applications Requiring

More information

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit

More information

MSMF GATE CENTRE. Sub: MICROPROCESSORS. Time: 50min Date: Marks:33

MSMF GATE CENTRE. Sub: MICROPROCESSORS. Time: 50min Date: Marks:33 MSMF GATE CENTRE Sub: MICROPROCESSORS Time: 50min Date:20-12-16 Marks:33 1. Which interrupt has highest priority in 8085 microprocessor? a) INTR b) RST 4.5 c) RST 6.5 d) RST 7.5 2. In 8085 microprocessor,

More information

TMS320C5x, TMS320LC5x DIGITAL SIGNAL PROCESSORS

TMS320C5x, TMS320LC5x DIGITAL SIGNAL PROCESSORS TMS30C5x, TMS30LC5x SPRS030A APRIL 995 REVISED APRIL 996 Powerful 6-Bit TMS30C5x CPU 0-, 5-, 35-, and 50-ns Single-Cycle Instruction Execution Time for 5-V Operation 5-, 40-, and 50-ns Single-Cycle Instruction

More information

EE 308: Microcontrollers

EE 308: Microcontrollers EE 308: Microcontrollers Review Part I Aly El-Osery Electrical Engineering Department New Mexico Institute of Mining and Technology Socorro, New Mexico, USA February 15, 2018 Aly El-Osery (NMT) EE 308:

More information

CHAPTER 6 ARITHMETIC, LOGIC INSTRUCTIONS, AND PROGRAMS

CHAPTER 6 ARITHMETIC, LOGIC INSTRUCTIONS, AND PROGRAMS CHAPTER 6 ARITHMETIC, LOGIC INSTRUCTIONS, AND PROGRAMS Addition of Unsigned Numbers The instruction ADD is used to add two operands Destination operand is always in register A Source operand can be a register,

More information

Practical Course File For

Practical Course File For Practical Course File For Microprocessor (IT 473) B.Tech (IT) IV-SEM Department of IT University Institute of Engineering & Technology Panjab University, Chandigarh Page 1 INTRODUCTION... 4 EXPERIMENT-1:

More information

Table 1: Mnemonics Operations Dictionary. Add Accumulators Add B to Y. Add with carry to B. Add Memory to B. Add 16-bit to D And B with Memory

Table 1: Mnemonics Operations Dictionary. Add Accumulators Add B to Y. Add with carry to B. Add Memory to B. Add 16-bit to D And B with Memory Table 1: Mnemonics s Dictionary ABA ABX ABY ADCA ADCB ADDA ADDB ADDD ANDA ANDB ASL ASLA ASLB ASLD ASR ASRA ASRB BCC BCLR BCS BEQ BGE BGT BHI BHS BITA BITB BLE BLO BLS BLT Add Accumulators Add B to X Add

More information

SPRING TERM BM 310E MICROPROCESSORS LABORATORY PRELIMINARY STUDY

SPRING TERM BM 310E MICROPROCESSORS LABORATORY PRELIMINARY STUDY BACKGROUND 8086 CPU has 8 general purpose registers listed below: AX - the accumulator register (divided into AH / AL): 1. Generates shortest machine code 2. Arithmetic, logic and data transfer 3. One

More information