CME341 Dec. 16, 2014 Final Exam

Size: px
Start display at page:

Download "CME341 Dec. 16, 2014 Final Exam"

Transcription

1 1 CME341 Dec. 16, 2014 Final Exam Time: 3.0 hours, Text Books, Notes and Computer Files Only NO CELL PHONES or LAPTOPS All questions are independent. Each assumes you are starting with the microprocessor constructed in the preamble. If a question has more than 1 part, e.g. a) and b), then each part after the rst part builds on the previous part. That is to say the modications in a part build upon the modications made in the previous parts. The worth of the question are explained in the preamble. Before starting the exam download all the les in the folder les_for_2014_nal on the class website to a folder on your H drive. The path to this folder is Exam Files -> CME341_Exam_Files -> exams_2014_2015.

2 1. Make the no-operation instruction that is referred to as NOPC8, which in machine code is 8'HC8, a jump to address 8'HC8 instruction. 2 Answer for seed == 8'HAA is 16'HA29A Listing for question org 8'H00; start: load o_reg, #4'H1; 0001 D8 NOPD8; no-operation 0002 C8 NOPC8; jump to 8'HC E0 JMP start; should never happen 00C8 org 8'hC8; 00C8 CF loop: NOPCF; no-operation 00C9 42 load o_reg, #4'H2 00CA C8 NOPC8; jump to loop loop C8H

3 3 2. Change the y 1 input to the y-select multiplexer to r. Answer for seed == 8'HAA is 16'H74CF Listing for question org 8'H00; start: load x0,#4'h2; load x1,#4'h3; load y0,#4'h4; D load y1,#4'hd; 0004 E1 jmp loop; 0010 align 0010 C2 loop: add x0,y0; r=x0+y0= CA add x0,y1; r=x0+r = D2 add x1,y0; r=x1+y0= DA add x1,y1; r=x1+r =A 0014 E1 jmp loop; loop 10H

4 4 3. (a) Make a ip/op called accumulator_mode in the instruction decoder and change from_id so that it is assigned { 7'b0, accumulator_mode } 1. This assignment will connect accumulator_mode to the test bench. This ip/op accumulator_mode is to be synchronously cleared with sync_reset, set by the no-operation instruction NOPCF (machine code 8'HCF) and cleared by the nooperation instruction NOPC8 (machine code 8'HC8). Answer for seed == 8'HAA is 16'H015B (b) Further modify your microprocessor to make r an accumulator while accumulator_mode is 1'b1. That is, if accumulator_mode is 1'b1, r gets the sum of the ALU output and itself on all ALU instructions except for no-operations, in which case r gets r. Of course while accumulator_mode is 1'b0 r gets the ALU output. Answer for seed == 8'HAA is 16'H72F9 Listing for question org 8'H00; question start: load x0,#4'h1; load x1,#4'h2; load y0,#4'h3; load y1,#4'h4; 0004 E1 jmp loop; 0010 align 0010 C2 loop: add x0,y0; r=1+3= D2 add x1, y0; r=2+3= CF NOPCF; set accumulator mode 0013 C2 add x0,y0; a) r=1+3=4 ; b)r=r+x0+y0= DA add x1, y1; a) r = 2+4=6 ; b) r=r+x1+y1=f 0015 DF NOPDF; no-operation, r does not change 0016 C8 NOPC8; clear accumulator mode 0017 E1 jmp loop; ; loop 10H 1 NOTE: The most signicant 7 bits of from_id are set to zero. This will cause the compiler to issue a 7 bits stuck at ground warning

5 4. The i register is the index register used in the indirect addressing of the data memory, i.e. the i register is used as the address for data memory. The microprocessor has been designed so that the i register is post incremented by the value in the m register on all move and load instructions where dm is either the source or the destination. Change your microprocessor to eectively pre-increment the i register by the value in the m register on all move and load instructions where dm is either the source or the destination. The implementation of this so called pre-increment still post-increments i. However, the address used for data memory is i+m, which gives the appearance that i was pre-incremented. 5 Answer for seed == 8'HAA is 16'H32EC Listing for question org 8'H00; start: load m, #4'H3; load i, #4'H7; load dm, #4'H5; store 4'H5 in address dm[a] ; increment i by 3 so i = A load m, #4'H0; A load i, #4'HA; make sure i = A 0005 A7 mov o_reg, dm; move dm[a], which is 4'H5, to o_reg ; increment i by 0 so i = A 0006 E0 jmp start;

6 5. Modify your microprocessor to change the way the conditional jump operates (but do not change the unconditional jump). The same rules apply for when to jump and when not to jump, i.e. if the zero_flag is zero then jump. The dierence is the jump address is computed relative to the address of the jnz instruction. The modied instruction jumps back from the current instruction by the amount in the least signicant nibble of the instruction register. Such jumps are called relative jumps. For example, suppose a jnz instruction with machine code 8'HF3 is located at address 8'H29 in program memory. Then if the zero ag is zero when this jnz instruction is executed the jump would be to program memory address (8'H29 - {4'H0,4'H3}), which is 8'H26. To clarify this even more, if the jnz was machine code 8'HF0, then the jump would be to program memory address (8'H29 - {4'H0,4'H0}), which is 8'H29. 6 Answer for seed == 8'HAA is 16'HD2F3 Listing for question org 8'H00; start: load o_reg, #4'H0; load x0,#4'h3; F load y0, # 4'HF; 0003 A0 loop: move o_reg, x0; 0004 C2 add x0,y0; mov x0, r; 0006 F3 jnz 8'H30; jnz loop 0007 E1 jmp next; 0010 align next: load x0, #4'H5; 0011 C2 add x0, y0; 0012 FF jnz 8'HF0; jnz loop loop 03H next 10H

7 7 6. Modify your microprocessor so that the jump to 8'HF0 becomes an interrupt with interrupt vector 8'HFC and NOPC8 becomes a return from interruption. Answer for seed == 8'HAA is 16'HB759 Listing for question org 8'H00; start: load x0,#4'h3; F load y0,#4'hf; 0002 E1 jmp main; 0010 align 0010 EF main: jmp 8'HF0; generate an interupt 0011 F1 jnz main; 0012 E2 jmp trap; 0020 align 0020 E2 trap: jmp trap; 00FC org 8'HFC; 00FC C2 ISR: add x0,y0; 00FD 84 mov x0,r; decrement x0 00FE C8 NOPC8; return to main program ISR FCH main 10H trap 20H

8 7. Modify your microprocessor to change the jump instruction to a Jump to SubRoutine (JSR) instruction. Use NOPDF (machine code 8'HDF) as the Return From Subroutine (RFS) instruction. Allow for 7 levels of nesting (i.e. 7 JSR instructions can be encountered before a RFS is encountered). 8 The jnz instruction should not be aected. Answer for seed == 8'HAA is 16'HAB12 Listing for question org 8'H00; 0000 E2 start: jmp SR1; jump to subroutine SR load o_reg, #4'H0; load x0, #4'H8; 0003 C7 com x0; r = 7, zero flag = F1 jnz trap; r!=0 so jump to trap 0010 align; 0010 F1 trap: jnz trap; r!= 0, jump to trap 0020 align SR1: load o_reg,#4'h1; 0021 E3 jmp SR2; 0022 DF NOPDF; return from subroutine 0030 align SR2: load o_reg,#4'h2; 0031 E4 jmp SR3; 0032 DF NOPDF; return from subroutine 0040 align SR3: load o_reg,#4'h3; 0041 E5 jmp SR4; 0042 DF NOPDF; return from subroutine 0050 align SR4: load o_reg,#4'h4; 0051 E6 jmp SR5; load o_reg,#4'h6; 0053 E7 jmp SR6; 0054 DF NOPDF; return from subroutine 0060 align SR5: load o_reg,#4'h DF NOPDF; return from subroutine 0070 align SR6: load o_reg,#4'h DF NOPDF; return from subroutine Symbol table is on the next page

9 SR3 40H SR2 30H SR1 20H trap 10H SR6 70H SR5 60H SR4 50H 9

10 8. Modify your microprocessor to change the move i_pins to dm instruction to a move dm to dm instruction. The destination address for data memory should be i and the source address should be y 1. In equation form this instruction would be written dm[i] = dm[y 1 ]. The modication will involve changing data memory to be a two port memory, with one of the ports being read only. 10 Answer for seed == 8'HAA is 16'HC840 Listing for question org 8'H00; start: load m, #4'H0; turn off auto increment load i,#4'h7; A load dm,#4'ha; dm[7] = A load y1,#4'h7; load i,#4'h3; 0005 BF mov dm,ipins; dm[i]=dm[y1] i.e. dm[3]=dm[7]=a 0006 A7 mov o_reg, dm; o_reg = dm[i] i.e. o_reg = A load o_reg, #4'H0; 0008 E0 jmp start;

11 11 9. Modify your microprocessor to extend the size of program memory to 512 words. Of course the memory will have 9 address bits. The most signicant of the 9 bits is to be controlled by a 1-bit base register named base_register. The size of pc and pm_address will remain 8 bits. The 9-bit memory address will be extended_pm_address = { MSB, pm_address }, where MSB is a 1 bit signal dependent on the base register. The jump and conditional jump instructions are to aect pm_address as usual. Note that pm_address is now the least signicant 8 bits of the 9-bit address now called extended_pm_address. The base register is to be synchronously cleared with sync_reset, set by instruction NOPC8 and cleared by instruction NOPD8. That is to say the clock edge that executes NOPC8 sets the base register and the clock edge that executes NOPD8 clears the base register. The base register is to be automatically incremented (which for a 1-bit register means toggled) when the instruction in ir is located at address 9'H0FF or 9'H1FF unless that instruction is a jump or a successful conditional jump, in which case the base register is not incremented. The logic that generates MSB depends on the memory location of the instruction being executed. If the instruction is located at any address except addresses 9'H0FF and 9'H1FF, then MSB = base_register. If the instruction is located at address 9'H0FF or 9'H1FF, then there are two cases to consider: Case 1: The instruction is a jump or successful conditional jump. In this case MSB = base_register. Case 2: The instruction is not a jump and is not a successful conditional jump. In this case MSB = the D input to base_register. Change from_ps to be from_ps = { 3'b0, MSB, 3'b0, MSB }. The reason for doing this is to facilitate debugging, however, it is not an option. The change must be made as it aects accumulator_output. NOTE: There will not be a NOPC8 or NOPD8 instruction in memory locations 9'H0FF or 9'H1FF so do not worry about these cases. Two possible answer for seed == 8'HAA: one is 16'H8D54 the other is 16'H364E The listing is on the next page.

12 12 Listing for question org 8'H Start: load o_reg, #4'H0; 0001 C8 NOPC8; 0002 E0 jump Start; jump to 9'H100 00F0 org 8'HF0; 00F0 40 end: load o_reg, #4'H0; 00F1 41 load o_reg, #4'H1; 00F2 42 load o_reg, #4'H2; 00F3 43 load o_reg, #4'H3; 00F4 44 load o_reg, #4'H4; 00F5 45 load o_reg, #4'H5; 00F6 46 load o_reg, #4'H6; 00F7 47 load o_reg, #4'H7; 00F8 48 load o_reg, #4'H8; 00F9 49 load o_reg, #4'H9; 00FA 4A load o_reg, #4'HA; 00FB 4B load o_reg, #4'HB; 00FC 4C load o_reg, #4'HC; 00FD 4D load o_reg, #4'HD; 00FE 4D load o_reg, #4'HD; 00FF 4F load o_reg, #4'HF; A Page1: load o_reg, #4'HA; 0101 D8 NOPD8; 0102 EF jump 8'HF; jump to 9'H0F0 end 0F0H Start 000H Page1 100H

13 Modify your microprocessor to implement a zero-overhead loop with a 4 bit loop count register called loop_count. The register loop_count must built so that it is synchronously cleared with sync_reset and loaded by the jnz instruction. To be more specic, change the conditional jump instruction (i.e. the jnz instruction) to a load loop_count instruction. The value in the 4-bit jump address eld will be the value loaded into the 4 bit register loop_count. For example a jnz 8'H50 instruction will load loop_count with a value of 4'H5, regardless of the status of the zero ag. The loop begins on the instruction after loop_count is written, which the instruction after a jnz instruction. The number of times the loop will be executed is 1 plus the value written to loop_count just prior to entering the loop. That is to say the value in loop_count upon entering the loop is the number of times the execution of the loop will be repeated The length of the loop is xed at 4 instructions. Make from_ps = { 4'H0, loop_count }. The reason for doing this is to facilitate debugging, however, it is not an option. The change must be made as it aects accumulator_output. NOTE: loop_count will not be written by an instruction inside the loop. Answer for seed == 8'HAA is 16'H43CC Listing for question org 8'H A Start: load o_reg, #4'HA; 0001 F3 jnz 8'H30; execute loop 3+1=4 times top: load o_reg, #4'H1; should appear 4 times load o_reg, #4'H2; should appear 4 times load o_reg, #4'H3; should appear 4 times end: load o_reg, #4'H4; should appear 4 times load o_reg, #4'H0; should appear once 0007 E1 jmp trap; 0010 align F trap: load o_reg, #4'HF; 0011 E1 jmp trap;

14 11. Question 11 has been removed at the last minute because of its degree of diculty. 14

15 12. Modify your microprocessor to make the jump to 8'H00 instruction a two word instruction with the second word being the 8-bit jump address. 15 Answer for seed == 8'HAA is 16'HF574 Listing for question org 8'H start: load o_reg,#4'h0; 0001 E0 jmp 8'H00; 0002 C8 NOPC8; jump to 8'HC8, which is loop1 00C8 org 8'HC8 00C8 C8 loop1: NOPC8; 00C9 41 load o_reg, #4'H1; 00CA 40 load o_reg, #4'H0; 00CB ED jmp loop2; 00D0 align 00D0 E0 loop2: jmp 8'H00; 00D1 C8 NOPC8; jump to loop1 loop2 D0H loop1 C8H

16 13. Modify the instruction decoder in your microprocessor to generate the enables for ir and auxiliary instruction registers ir 2, ir 3 and ir 4. Change from_id to be from_id = { 4'H0, ir_en }, where ir_en is the 4-bit vector ir_en[3:0] with ir_en[0] being the enable for ir, ir_en[1] being the enable for ir 2, ir_en[2] being the enable for ir 3 and ir_en[3] being the enable for ir 4. The enables are generated to support variable word length instructions with ir 2 holding the second word in the instruction, ir 3 holding the third word in the instruction and ir 4 holding the fourth word in the instruction. No-operation instructions NOPC8 (machine code 8'HC8), NOPCF (machine code 8'HCF) and NOPD8 (machine code 8'HD8) are to remain no-operation instructions but are to be treated as 2-word, 3-word and 4-word instructions, respectively. 16 Answer for seed == 8'HAA is 16'HBC27 Listing for question org 8'H00; start: load o_reg, #4'H8; 0001 C8 NOPC8; two word no-operation instruction load o_reg, #4'H2; second word - will have no effect load o_reg,#4'h9; o_reg will change from 8 to CF NOPCF; three word no-operation instruction load o_reg, #4'H3; second word - will have no effect load o_reg, #4'H3; third word - will have no effect A load o_reg, #4'HA; o_reg will change from 9 to A 0008 D8 NOPD8; four word no-operation instruction load o_reg, #4'H4; second word of - will have no effect 000A 44 load o_reg, #4'H4; third word - will have no effect 000B 44 load o_reg, #4'H4; fourth word - will have no effect 000C 4B load o_reg, #4'HB; o_reg will change from A to B- 000D E0 jmp start;

CME341 Dec. 9, 2013 Final Exam

CME341 Dec. 9, 2013 Final Exam 1 CME341 Dec. 9, 2013 Final Exam Time: 3.0 hours, Text Books, Notes and Computer Files Only NO CELL PHONES or LAPTOPS All questions are independent. microprocessor. Each assumes you are starting with the

More information

CME341 Dec. 10, 2016 Final Exam

CME341 Dec. 10, 2016 Final Exam 1 CME341 Dec. 10, 2016 Final Exam Time: 3.0 hours, Text Books, Notes and Computer Files Only NO CELL PHONES or LAPTOPS All questions are independent. Each assumes you are starting with the microprocessor

More information

CME341 Preamble for the Final Exam. About the Final Exam. CME341 Preamble for Final Exam 1

CME341 Preamble for the Final Exam. About the Final Exam. CME341 Preamble for Final Exam 1 CME341 Preamble for Final Exam 1 About the Final Exam CME341 Preamble for the Final Exam The exam will start in the classroom assigned on the exam schedule. Students will be given the exam booklet at the

More information

EE431 April 6, 2009 Midterm Material on Assignments 6 to 10

EE431 April 6, 2009 Midterm Material on Assignments 6 to 10 EE431 April 6, 2009 midterm 1 EE431 April 6, 2009 Midterm Material on Assignments 6 to 10 Date: Monday April 6, 2009 Time = 2 hours Text Books, Notes and Computer Files Only NO CELL PHONES or LAPTOPS Preamble

More information

LIST OF PROGRAMS. Prg. Name of the Program. 1 Study of Pin Diagram of Study of Architecture of Study of 8085 Kit.

LIST OF PROGRAMS. Prg. Name of the Program. 1 Study of Pin Diagram of Study of Architecture of Study of 8085 Kit. LIST OF PROGRAMS Prg. Name of the Program No. 1 Study of Pin Diagram of 8085 2 Study of Architecture of 8085 3 Study of 8085 Kit 4 Reverse Order 5 Exchange of memory blocks 6 Absolute Difference 7 Even

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

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1 Version 1 1. (24 Points) Show the routing tables for routers A, B, C, and D. Make sure you account for traffic to the Internet. Router A Router B Router C Router D Network Next Hop Next Hop Next Hop Next

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

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing 8085 Microprocessor Architecture and Memory 1 Points to be Discussed 8085 Microprocessor 8085 Microprocessor (CPU) Block Diagram Control & Status Signals Interrupt Signals 8085 Microprocessor Signal Flow

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

4. Specifications and Additional Information

4. Specifications and Additional Information 4. Specifications and Additional Information AGX52004-1.0 8B/10B Code This section provides information about the data and control codes for Arria GX devices. Code Notation The 8B/10B data and control

More information

Pin Description, Status & Control Signals of 8085 Microprocessor

Pin Description, Status & Control Signals of 8085 Microprocessor Pin Description, Status & Control Signals of 8085 Microprocessor 1 Intel 8085 CPU Block Diagram 2 The 8085 Block Diagram Registers hold temporary data. Instruction register (IR) holds the currently executing

More information

Advanced Microprocessors

Advanced Microprocessors Advanced Microprocessors Notes #7 I/O Interfacing EE 467/567 Winter 2012 By Avinash Kodi IO.1 Background Materials Textbook: See Web Other: IA-32 Intel Architecture Software Developer s Manual Volume 1

More information

Control Transfer Instructions Jump, Loop, and Call. ECE473/573 Microprocessor System Design, Dr. Shiue

Control Transfer Instructions Jump, Loop, and Call. ECE473/573 Microprocessor System Design, Dr. Shiue Control Transfer Instructions Jump, Loop, and Call 1 Jump Instructions JZ label ; Jump if A=0 JNZ label ; Jump if A!=0 DJNZ reg, label ; Decrement and Jump if A (or reg.)!=0 CJNE A, byte ; Compare and

More information

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( ) 6. Combinational Circuits George Boole (85 864) Claude Shannon (96 2) Signals and Wires Digital signals Binary (or logical ) values: or, on or off, high or low voltage Wires. Propagate digital signals

More information

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1 Version 1 Instructions Write your name on the exam paper. Write your name and version number on the top of the yellow paper. Answer Question 1 on the exam paper. Answer Questions 2-4 on the yellow paper.

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

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

Example Programs for 6502 Microprocessor Kit

Example Programs for 6502 Microprocessor Kit Example Programs for 6502 Microprocessor Kit 0001 0000 0002 0000 GPIO1.EQU $8000 0003 0000 0004 0000 0005 0200.ORG $200 0006 0200 0007 0200 A5 00 LDA $0 0008 0202 8D 00 80 STA $GPIO1 0009 0205 00 BRK 0010

More information

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085. (1) Draw and explain the internal architecture of 8085. The architecture of 8085 Microprocessor is shown in figure given below. The internal architecture of 8085 includes following section ALU-Arithmetic

More information

Introduction to Microprocessor

Introduction to Microprocessor Introduction to Microprocessor The microprocessor is a general purpose programmable logic device. It is the brain of the computer and it performs all the computational tasks, calculations data processing

More information

Programming Book for 6809 Microprocessor Kit

Programming Book for 6809 Microprocessor Kit Programming Book for 6809 Microprocessor Kit Wichit Sirichote, wichit.sirichote@gmail.com Image By Konstantin Lanzet - CPU collection Konstantin Lanzet, CC BY-SA 3.0, Rev1.2 March 2018 1 Contents Lab 1

More information

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1 Version 1 1. (20 Points) Given the class A network address 119.0.0.0 will be divided into a maximum of 15,900 subnets. a. (5 Points) How many bits will be necessary to address the 15,900 subnets? b. (5

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

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

instruction 1 Fri Oct 13 13:05:

instruction 1 Fri Oct 13 13:05: instruction Fri Oct :0:0. Introduction SECTION INSTRUCTION SET This section describes the aressing modes and instruction types.. Aressing Modes The CPU uses eight aressing modes for flexibility in accessing

More information

Microcomputer Architecture and Programming

Microcomputer Architecture and Programming IUST-EE (Chapter 1) Microcomputer Architecture and Programming 1 Outline Basic Blocks of Microcomputer Typical Microcomputer Architecture The Single-Chip Microprocessor Microprocessor vs. Microcontroller

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

Subject Code: Model Answer Page No: /25

Subject Code: Model Answer Page No: /25 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate

More information

EECE 340 Introduction to Microprocessors w/lab Section A. Term Project Parking Visitor Counter

EECE 340 Introduction to Microprocessors w/lab Section A. Term Project Parking Visitor Counter Section A Term Project Parking Visitor Counter Group Members: Instructor: Dr. Jinane Biri Due date: Sunday, Dec. 16, 2012 1 Table of Contents 1. Objective... 2 2. Introduction and Problem Description...

More information

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Microprocessor Subject Code: 17443 I m p o r t a n t I n s t r u c t i o n s t o e x a m i n e r s : 1) The answers should be examined by key words and

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

PROBLEMS. 7.1 Why is the Wait-for-Memory-Function-Completed step needed when reading from or writing to the main memory?

PROBLEMS. 7.1 Why is the Wait-for-Memory-Function-Completed step needed when reading from or writing to the main memory? 446 CHAPTER 7 BASIC PROCESSING UNIT (Corrisponde al cap. 10 - Struttura del processore) PROBLEMS 7.1 Why is the Wait-for-Memory-Function-Completed step needed when reading from or writing to the main memory?

More information

ADVANCE MICROPROCESSOR & INTERFACING

ADVANCE MICROPROCESSOR & INTERFACING VENUS INTERNATIONAL COLLEGE OF TECHNOLOGY Gandhinagar Department of Computer Enggineering ADVANCE MICROPROCESSOR & INTERFACING Name : Enroll no. : Class Year : 2014-15 : 5 th SEM C.E. VENUS INTERNATIONAL

More information

Q. P. Code : b. Draw and explain the block dig of a computer with microprocessor as CPU.

Q. P. Code : b. Draw and explain the block dig of a computer with microprocessor as CPU. Q. P. Code : 08235 (2½ Hours) [Total Marks: 75] N. B.: (1) All questions are compulsory. (2) Make suitable assumptions wherever necessary and state the assumptions made. (3) Answers to the same question

More information

PERIPHERAL INTERFACING Rev. 1.0

PERIPHERAL INTERFACING Rev. 1.0 This work is licensed under the Creative Commons Attribution-NonCommercial-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/in/deed.en

More information

C1098 JPEG Module User Manual

C1098 JPEG Module User Manual C1098 JPEG Module User Manual General Description C1098 is VGA camera module performs as a JPEG compressed still camera that can be attached to a wireless or PDA host. Users can send out a snapshot command

More information

The advantages of registers over memory locations are as follows:

The advantages of registers over memory locations are as follows: Q.2 a. In a microprocessor, what is the use of a register? What are the advantages & disadvantages of using registers over a memory location? What is the speciality of register A (accumulator) over other

More information

Basics of Microprocessor

Basics of Microprocessor Unit 1 Basics of Microprocessor 1. Microprocessor Microprocessor is a multipurpose programmable integrated device that has computing and decision making capability. This semiconductor IC is manufactured

More information

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1 Version 1 1. (20 Points) Given the class A network address 117.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 4,000 subnets? b. (5 Points) What is

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

PESIT Bangalore South Campus

PESIT Bangalore South Campus INTERNAL ASSESSMENT TEST 2 Date : 02/04/2018 Max Marks: 40 Subject & Code : Microprocessor (15CS44) Section : IV A and B Name of faculty: Deepti.C Time : 8:30 am-10:00 am Note: Note: Answer any five complete

More information

Counters & Time Delays. Microprocessors & Interfacing 1

Counters & Time Delays. Microprocessors & Interfacing 1 Counters & Time Delays Microprocessors & Interfacing 1 Counters A loop counter is set up by loading a register with a certain value Then using the DCR (to decrement) and INR (to increment) the contents

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

Introduction to Assembly Language Programming (Instruction Set) 1/18/2011 1

Introduction to Assembly Language Programming (Instruction Set) 1/18/2011 1 Introduction to Assembly Language Programming (Instruction Set) 1/18/2011 1 High Level Language Compiler Assembly Language Assembler Machine Code Microprocessor Hardware 1/18/2011 2 8085A Instruction Set

More information

Code segment Stack segment

Code segment Stack segment Registers Most of the registers contain data/instruction offsets within 64 KB memory segment. There are four different 64 KB segments for instructions, stack, data and extra data. To specify where in 1

More information

Micro computer Organization

Micro computer Organization Micro computer Organization I Base Basic Components CPU SYSTEM BUSES VDD CLK RESET 1 MPU vs MCU Microprocessor Unit (MPU) CPU (called Microprocessor) is a die All components external to die Basically on

More information

MICROCONTROLLER AND PLC LAB-436 SEMESTER-5

MICROCONTROLLER AND PLC LAB-436 SEMESTER-5 MICROCONTROLLER AND PLC LAB-436 SEMESTER-5 Exp:1 STUDY OF MICROCONTROLLER 8051 To study the microcontroller and familiarize the 8051microcontroller kit Theory:- A Microcontroller consists of a powerful

More information

Darshan Institute of Engineering & Technology for Diploma Studies Unit - 1

Darshan Institute of Engineering & Technology for Diploma Studies Unit - 1 Darshan Institute of Engineering & Technology for Diploma Studies Unit - 1 1. Draw and explain 4 bit binary arithmetic or adder circuit diagram. A binary parallel adder is digital function that produces

More information

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON. Instructor: Rahul Nayar TAs: Annie Lin, Mohit Verma

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON. Instructor: Rahul Nayar TAs: Annie Lin, Mohit Verma CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON Instructor: Rahul Nayar TAs: Annie Lin, Mohit Verma Examination 2 In Class (50 minutes) Wednesday, March 8, 207 Weight:

More information

Class Notes. Dr.C.N.Zhang. Department of Computer Science. University of Regina. Regina, SK, Canada, S4S 0A2

Class Notes. Dr.C.N.Zhang. Department of Computer Science. University of Regina. Regina, SK, Canada, S4S 0A2 Class Notes CS400 Part VI Dr.C.N.Zhang Department of Computer Science University of Regina Regina, SK, Canada, S4S 0A2 C. N. Zhang, CS400 83 VI. CENTRAL PROCESSING UNIT 1 Set 1.1 Addressing Modes and Formats

More information

Assembly Language programming (3)

Assembly Language programming (3) EEE3410 Microcontroller Applications LABORATORY Experiment 3 Assembly Language programming (3) Name Class Date Class No. Marks Conditional Program Branching and Subroutine Call in 8051 Objectives To learn

More information

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK Subject Code : EC307 Subject Name : Microprocessor and Interfacing Year & Sem : III Year, V Sem

More information

CIS-331 Final Exam Spring 2018 Total of 120 Points. Version 1

CIS-331 Final Exam Spring 2018 Total of 120 Points. Version 1 Version 1 Instructions 1. Write your name and version number on the top of the yellow paper and the routing tables sheet. 2. Answer Question 2 on the routing tables sheet. 3. Answer Questions 1, 3, 4,

More information

PERIPHERAL INTERFACING Rev. 1.0

PERIPHERAL INTERFACING Rev. 1.0 This work is licensed under the Creative Commons Attribution-NonCommercial-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/in/deed.en

More information

EXPERIMENT WRITE UP. LEARNING OBJECTIVES: 1. Get hands on experience with Assembly Language Programming 2. Write and debug programs in TASM/MASM

EXPERIMENT WRITE UP. LEARNING OBJECTIVES: 1. Get hands on experience with Assembly Language Programming 2. Write and debug programs in TASM/MASM EXPERIMENT WRITE UP AIM: Assembly language program to search a number in given array. LEARNING OBJECTIVES: 1. Get hands on experience with Assembly Language Programming 2. Write and debug programs in TASM/MASM

More information

Marking Scheme. Examination Paper Department of CE. Module: Microprocessors (630313)

Marking Scheme. Examination Paper Department of CE. Module: Microprocessors (630313) Philadelphia University Faculty of Engineering Marking Scheme Examination Paper Department of CE Module: Microprocessors (630313) Final Exam Second Semester Date: 02/06/2018 Section 1 Weighting 40% of

More information

Assembly Language. Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology. Overview of Assembly Language

Assembly Language. Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology. Overview of Assembly Language 4345 Assembly Language Assembly Language Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology Assembly Language 3-1 Overview of Assembly Language Advantages: Faster as compared

More information

CPU. Fall 2003 CSE 207 Digital Design Project #4 R0 R1 R2 R3 R4 R5 R6 R7 PC STATUS IR. Control Logic RAM MAR MDR. Internal Processor Bus

CPU. Fall 2003 CSE 207 Digital Design Project #4 R0 R1 R2 R3 R4 R5 R6 R7 PC STATUS IR. Control Logic RAM MAR MDR. Internal Processor Bus http://www.engr.uconn.edu/~barry/cse207/fa03/project4.pdf Page 1 of 16 Fall 2003 CSE 207 Digital Design Project #4 Background Microprocessors are increasingly common in every day devices. Desktop computers

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

The functional block diagram of 8085A is shown in fig.4.1.

The functional block diagram of 8085A is shown in fig.4.1. Lecture-13 Internal Architecture of Intel 05A The functional block diagram of 05A is shown in fig.4.1. INTA INTR RST7.5 RST5.5 RST6.5 TRAP SOD SID INTERRUPT SERIAL I/O (Internal Bus) FR(S) IR() B() C()

More information

A Presentation created By Ramesh.K Press Ctrl+l for full screen view

A Presentation created By Ramesh.K Press Ctrl+l for full screen view Press Ctrl+l for full screen view A Presentation created By Ramesh.K rameshpkd@gmail.com Press Ctrl+l for full screen view A Microprocessor sor is a multipurpose, programmable logic device that reads binary

More information

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1 Version 1 1. (20 Points) Given the class A network address 121.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 8,100 subnets? b. (5 Points) What is

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

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1 Version 1 1. (24 Points) Show the routing tables for routers A, B, C, and D. Make sure you account for traffic to the Internet. NOTE: Router E should only be used for Internet traffic. Router A Router

More information

LynX-10 Legacy Protocol Specification Version 1.01

LynX-10 Legacy Protocol Specification Version 1.01 LynX-10 Legacy Protocol Specification Version 1.01 Marrick Limited LynX-10 TM Legacy Protocol Specification Manual revision 1.01 Marrick Limited, Incorporated P.O. Box 950940 Lake Mary, FL 32795 (407)

More information

UNIT 2 PROCESSORS ORGANIZATION CONT.

UNIT 2 PROCESSORS ORGANIZATION CONT. UNIT 2 PROCESSORS ORGANIZATION CONT. Types of Operand Addresses Numbers Integer/floating point Characters ASCII etc. Logical Data Bits or flags x86 Data Types Operands in 8 bit -Byte 16 bit- word 32 bit-

More information

SYSC3601 Microprocessor Systems. Unit 2: The Intel 8086 Architecture and Programming Model

SYSC3601 Microprocessor Systems. Unit 2: The Intel 8086 Architecture and Programming Model SYSC3601 Microprocessor Systems Unit 2: The Intel 8086 Architecture and Programming Model Topics/Reading SYSC3601 2 Microprocessor Systems 1. Registers and internal architecture (Ch 2) 2. Address generation

More information

Chapter 1: Basics of Microprocessor [08 M]

Chapter 1: Basics of Microprocessor [08 M] Microprocessor: Chapter 1: Basics of Microprocessor [08 M] It is a semiconductor device consisting of electronic logic circuits manufactured by using either a Large scale (LSI) or Very Large Scale (VLSI)

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

Microprocessor. By Mrs. R.P.Chaudhari Mrs.P.S.Patil

Microprocessor. By Mrs. R.P.Chaudhari Mrs.P.S.Patil Microprocessor By Mrs. R.P.Chaudhari Mrs.P.S.Patil Chapter 1 Basics of Microprocessor CO-Draw Architecture Of 8085 Salient Features of 8085 It is a 8 bit microprocessor. It is manufactured with N-MOS technology.

More information

Programming Book Microcontroller Kit. Rev 3.0 January, Wichit Sirichote

Programming Book Microcontroller Kit. Rev 3.0 January, Wichit Sirichote Programming Book1 8051 Microcontroller Kit Rev 3.0 January, 016 016 Wichit Sirichote 1 Contents Overview...3 SAFTY INFORMATION...3 Tools...3 Experiment 1 Blinking LED...4 Experiment Binary number counting...9

More information

Vidyalankar. Vidyalankar T.E. Sem. V [CMPN] Microprocessors Prelim Question Paper Solution. 1. (a)

Vidyalankar. Vidyalankar T.E. Sem. V [CMPN] Microprocessors Prelim Question Paper Solution. 1. (a) 1. (a) Step 1 : Total EPROM required Chip size available No.of chips required = 2 T.E. Sem. V [CMPN] Microprocessors Prelim Question Paper Solution = 64 KB = 32 KB No.of sets required = 2 1 2 Set 1 = Ending

More information

SOLUTIONS!! DO NOT DISTRIBUTE!!

SOLUTIONS!! DO NOT DISTRIBUTE!! THE UNIVERSITY OF THE WEST INDIES EXAMINATIONS OF FEBRUARY MID-TERM 2005 Code and Name of Course: EE25M Introduction to Microprocessors Paper: Date and Time: Duration: One Hour INSTRUCTIONS TO CANDIDATES:

More information

Architecture of 8085 microprocessor

Architecture of 8085 microprocessor Architecture of 8085 microprocessor 8085 consists of various units and each unit performs its own functions. The various units of a microprocessor are listed below Accumulator Arithmetic and logic Unit

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

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

MICROPROCESSOR BASICS AND RELATED TERMS

MICROPROCESSOR BASICS AND RELATED TERMS MICROPROCESSOR BASICS AND RELATED TERMS Microprocessor: Programmable integrated device that has computing ability and decision making capacity. It is the CPU of computer. A multipurpose, programmable,

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

CYASM Assembler User s Guide Version 2.02

CYASM Assembler User s Guide Version 2.02 CYASM Assembler User s Guide Version 2.02 May 7, 2004 Cypress Semiconductor Personal Communication Division 3901 North First Street San Jose, CA 95134 (408) 943-2600 www.cypress.com Cypress Semiconductor

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

Chapter. Computer Architecture

Chapter. Computer Architecture Chapter 4 Computer Architecture Figure 4.1 Input device Central processing unit Main memory Output device Bus Data flow Control Figure 4.2 Central processing unit () Status bits ( ) Accumulator ( ) Index

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

(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

EKT222 Miroprocessor Systems Lab 5

EKT222 Miroprocessor Systems Lab 5 LAB 5: Interrupts Objectives: 1) Ability to define interrupt in 8085 microprocessor 2) Ability to understanding the interrupt structure in the 8085 microprocessor 3) Ability to create programs using the

More information

Grundlagen Microcontroller Processor Core. Günther Gridling Bettina Weiss

Grundlagen Microcontroller Processor Core. Günther Gridling Bettina Weiss Grundlagen Microcontroller Processor Core Günther Gridling Bettina Weiss 1 Processor Core Architecture Instruction Set Lecture Overview 2 Processor Core Architecture Computes things > ALU (Arithmetic Logic

More information

Chapter 4. MARIE: An Introduction to a Simple Computer. Chapter 4 Objectives. 4.1 Introduction. 4.2 CPU Basics

Chapter 4. MARIE: An Introduction to a Simple Computer. Chapter 4 Objectives. 4.1 Introduction. 4.2 CPU Basics Chapter 4 Objectives Learn the components common to every modern computer system. Chapter 4 MARIE: An Introduction to a Simple Computer Be able to explain how each component contributes to program execution.

More information

The Microprocessor and its Architecture

The Microprocessor and its Architecture The Microprocessor and its Architecture Contents Internal architecture of the Microprocessor: The programmer s model, i.e. The registers model The processor model (organization) Real mode memory addressing

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

Chapter Four Instructions Set

Chapter Four Instructions Set Chapter Four Instructions set Instructions set 8086 has 117 instructions, these instructions divided into 6 groups: 1. Data transfer instructions 2. Arithmetic instructions 3. Logic instructions 4. Shift

More information

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web:     Ph: Serial :. PT_EE-EC_A_Microprocessor_968 Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: -452462 CLASS TEST 28-9 Subject : Microprocessors

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

Module 3 Instruction Set Architecture (ISA)

Module 3 Instruction Set Architecture (ISA) Module 3 Instruction Set Architecture (ISA) I S A L E V E L E L E M E N T S O F I N S T R U C T I O N S I N S T R U C T I O N S T Y P E S N U M B E R O F A D D R E S S E S R E G I S T E R S T Y P E S O

More information

Technical Note #70. GE PMCS App Note 70 Page 1 of 9. Broadcast Time Syncronization Utility

Technical Note #70. GE PMCS App Note 70 Page 1 of 9. Broadcast Time Syncronization Utility GE PMCS App Note 70 Page 1 of 9 Technical Note #70 Broadcast Time Syncronization Utility Home Product Information Case Studies FAQs Download Area 'Virtual' Demo Glossary of Terms Links Contact Us Search

More information

Microprocessor Architecture

Microprocessor Architecture Microprocessor - 8085 Architecture 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

More information

Intel 8086: Instruction Set

Intel 8086: Instruction Set IUST-EE (Chapter 6) Intel 8086: Instruction Set 1 Outline Instruction Set Data Transfer Instructions Arithmetic Instructions Bit Manipulation Instructions String Instructions Unconditional Transfer Instruction

More information

Chapter 9. Programming Framework

Chapter 9. Programming Framework Chapter 9 Programming Framework Lesson 1 Registers Registers Pointers Accumulator Status General Purpose Outline CPU Registers Examples 8-bitA (Accumulator) Register 8-bit B Register 8-bitPSW (Processor

More information

E3940 Microprocessor Systems Laboratory. Introduction to the Z80

E3940 Microprocessor Systems Laboratory. Introduction to the Z80 E3940 Microprocessor Systems Laboratory Introduction to the Z80 Andrew T. Campbell comet.columbia.edu/~campbell campbell@comet.columbia.edu E3940 Microprocessor Systems Laboratory Page 1 Z80 Laboratory

More information

UNIT 1 REFERENCE 1 PREPARED BY S.RAVINDRAKUMAR, LECT/ECE, CHETTINAD COLLEGE OF ENGG AND TECH, KARUR

UNIT 1 REFERENCE 1 PREPARED BY S.RAVINDRAKUMAR, LECT/ECE, CHETTINAD COLLEGE OF ENGG AND TECH, KARUR UNIT 1 REFERENCE 1 PROGRAMMING THE 8085 DEVELOPMENT OF PROGRAM A program is a sequence of instructions written to tell a computer to perform a specific function. The instructions are selected from the

More information

Unit I Introduction. Department of Electronics and Communication Engineering VARDHAMAN COLLEGE OF ENGINEERING Shamshabad, Hyderabad , India.

Unit I Introduction. Department of Electronics and Communication Engineering VARDHAMAN COLLEGE OF ENGINEERING Shamshabad, Hyderabad , India. Unit I Introduction Department of Electronics and Communication Engineering VARDHAMAN COLLEGE OF ENGINEERING Shamshabad, Hyderabad 501218, India. Pre-requisites Digital Logic Design (A1404) Computer Architecture

More information