欢迎访问ic37.com |
会员登录 免费注册
发布采购

MC9S08AC60CFUE 参数 Datasheet PDF下载

MC9S08AC60CFUE图片预览
型号: MC9S08AC60CFUE
PDF下载: 下载PDF文件 查看货源
内容描述: [MC9S08AC60CFUE]
分类和应用: 外围集成电路时钟
文件页数/大小: 349 页 / 4272 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S08AC60CFUE的Datasheet PDF文件第108页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第109页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第110页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第111页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第113页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第114页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第115页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第116页  
Chapter 7 Central Processor Unit (S08CPUV2)  
7.3  
Addressing Modes  
Addressing modes define the way the CPU accesses operands and data. In the HCS08, all memory, status  
and control registers, and input/output (I/O) ports share a single 64-Kbyte linear address space so a 16-bit  
binary address can uniquely identify any memory location. This arrangement means that the same  
instructions that access variables in RAM can also be used to access I/O and control registers or nonvolatile  
program space.  
Some instructions use more than one addressing mode. For instance, move instructions use one addressing  
mode to specify the source operand and a second addressing mode to specify the destination address.  
Instructions such as BRCLR, BRSET, CBEQ, and DBNZ use one addressing mode to specify the location  
of an operand for a test and then use relative addressing mode to specify the branch destination address  
when the tested condition is true. For BRCLR, BRSET, CBEQ, and DBNZ, the addressing mode listed in  
the instruction set tables is the addressing mode needed to access the operand to be tested, and relative  
addressing mode is implied for the branch destination.  
7.3.1  
Inherent Addressing Mode (INH)  
In this addressing mode, operands needed to complete the instruction (if any) are located within CPU  
registers so the CPU does not need to access memory to get any operands.  
7.3.2  
Relative Addressing Mode (REL)  
Relative addressing mode is used to specify the destination location for branch instructions. A signed 8-bit  
offset value is located in the memory location immediately following the opcode. During execution, if the  
branch condition is true, the signed offset is sign-extended to a 16-bit value and is added to the current  
contents of the program counter, which causes program execution to continue at the branch destination  
address.  
7.3.3  
Immediate Addressing Mode (IMM)  
In immediate addressing mode, the operand needed to complete the instruction is included in the object  
code immediately following the instruction opcode in memory. In the case of a 16-bit immediate operand,  
the high-order byte is located in the next memory location after the opcode, and the low-order byte is  
located in the next memory location after that.  
7.3.4  
Direct Addressing Mode (DIR)  
In direct addressing mode, the instruction includes the low-order eight bits of an address in the direct page  
(0x0000–0x00FF). During execution a 16-bit address is formed by concatenating an implied 0x00 for the  
high-order half of the address and the direct address from the instruction to get the 16-bit address where  
the desired operand is located. This is faster and more memory efficient than specifying a complete 16-bit  
address for the operand.  
MC9S08AC60 Series Data Sheet, Rev. 2  
Freescale Semiconductor  
111