| Electronic Components Datasheet Search |
|
DP8344 Datasheet(PDF) 20 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
DP8344 Datasheet(HTML) 20 Page - National Semiconductor (TI) |
|
20 / 184 page ![]() 20 CPU Description (Continued) 213 Instruction Set The followng paragraphs introduce the BCP’s architecture by discussing addressing modes and briefly discussing the Instruction Set For detailed explanations and examples of each instruction refer to the Instruction Set Reference Sec- tion 2131 Harvard Architecture Implications The BCP utilizes a true Harvard Architecture where the in- struction and data memory are organized into two indepen- dent memory banks each with their own address and data buses Both the Instruction Address Bus and the Instruction Bus are 16 bits wide with the Instruction Address Bus ad- dressing memory by words (A word of memory is 16 bits long ie 1 word e 2 bytes) Most of the instructions are one word long The exceptions are two words long contain- ing a word of instruction followed by a word of immediate data The combination of word sized instructions and a word based instruction address bus eliminates the typical instruc- tion alignment problems faced by many CPU’s The Data Address Bus is 16 bits wide (with the low order 8 bits multiplexed on the Data Bus) and the Data Bus is 8 bits wide (ie one byte wide) The Data Address Bus addresses memory by bytes Most of the BCP’s instructions operate on byte-sized operands Note that although both instruction addresses and data ad- dresses are 16 bits long these addresses are for two differ- ent buses and therefore have two different numerical meanings (ie byte address or word address) Each in- struction determines whether the meaning of a 16-bit ad- dress is that of an instruction word address or a data byte address Little confusion exists though because only the program flow instructions interpret 16-bit addresses as in- struction addresses 2132 Addressing Modes An addressing mode is the mechanism by which an instruc- tion accesses its operand(s) The BCP’s architecture sup- ports five basic addressing modes register immediate in- dexed immediate-relative and register-relative The first two allow instructions to execute the fastest because they require no memory access beyond instruction fetch The remaining three addressing modes point to data or instruc- tion memory Typical of a RISC processor most of the in- structions only support the first three addressing modes with one of the operands always limited to the register ad- dressing mode Register Addressing Modes There are two terminologies for the register addressing modes Register and Limited Register Instructions that al- low Register operands can access all the registers in the CPU Note that only 32 of the 44 CPU registers are available at any given point in time because the lower 12 register locations (R0 – R11) access one of two switchable register banks each (See Section 2111 Banked Registers for more information on the CPU register banks) Instructions that allow the Limited Register operands can access just the first 28 registers of the CPU Again note that only 16 of these 28 registers are available at any given point in time Table 2-1 shows the notations used for the Register and Limited Register operands Some instructions also imply the use of certain registers for example the accumulators This is noted in the discussions of those instructions Immediate Addressing Modes The two types of the immediate addressing modes available are Immediate numbers and Absolute numbers Immediate numbers are 8 bits of data (one data byte) that code direct- ly into the instruction word Immediate numbers may repre- sent data data address displacements or relative instruc- tion addresses Absolute numbers are 16-bit numbers They code into the second word of two word instructions and they represent absolute instruction addresses Table 2-2 shows the notations used for both of these addressing modes TABLE 2-1 Register Addressing Mode Notations Notation Type of Register Operand Registers Allowed Rs Source Register R0 – R31 Rd Destination Register R0 – R31 Rsd Register is both a Source Destination R0 – R31 rs Limited Source Register R0 – R15 rd Limited Destination Register R0 – R15 rsd Limited Register is both a Source Destination R0 – R15 TABLE 2-2 Immediate Addressing Mode Notations Notation Type of Immediate Operand Size n Immediate Number 8 Bits nn Absolute Number 16 Bits 20 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |