Download CubeSuite+ V1.00.00 Integrated Development Environment User`s
Transcript
CubeSuite+ Ver.1.00.00 CHAPTER 4 ASSEMBLY LANGUAGE SPECIFICATIONS (f) Label reference In as850, label reference can be used as a component of available relative value as shown in operand designation of instruction/pseudo-instruction. - Memory Reference Instruction (Load/store instruction, and bit manipulation instruction) - Operation Instruction (Arithmetic operation instruction, saturated operation instruction, logical operation instruction) - Branch Instruction - Area Allocation Pseudo-instruction (However, .word/.hword/.byte pseudo-instruction only) In as850, the meaning of a label reference varies with the reference method and the differences used in the instructions/pseudo-instruction. Details are shown below. Table 4-39. Label Reference Referenc Instructions Used Meaning e Method #label Memory reference instruc- The absolute address of the position at which the definition of tion, operation instruction label (label) exists (Offset from address 0Note 1). and jmp instruction This has a 32-bit address and must be expanded into two instructions except V850Ex. Area Allocation Pseudo- The absolute address of the position at which the definition of instruction label (label) exists (Offset from address 0Note 1). (.word/.hword/.byte) Note that the 32-bit address is a value masked in accordance with the size of the area secured. label Memory reference instruc- The offset in the section of the position where definition of the tion, operation instruction label (label) exists (offset from the initial address of the section where the definition of label (label) existsNote 2). This has a 32-bit offset and must be expanded into two instructions. Note that for a section allocated to a segment for which a tp symbol is to be generated, the offset is referred from the tp symbol. Branch instruction except The PC offset at the position where definition of label (label) jmp instruction exists (offset from the initial address of the instruction using the reference of label (label)Note 2). Area Allocation Pseudo- The offset in the section of the position where definition of the instruction label (label) exists (offset from the initial address of the section (.word/.hword/.byte) where the definition of label (label) existsNote 2). Note that the 32-bit offset is a value masked in accordance with the size of the area secured. $label Memory reference instruc- The gp offset at the position where definition of the label (label) tion, operation instruction exists (offset from the address showing the global pointerNote 3). R20UT0553EJ0100 Rev.1.00 Apr 01, 2011 Page 345 of 943
Related documents
CubeSuite Ver.1.40 Integrated Development Environment User`s
CubeSuite+ V2.00.00 Integrated Development Environment User`s
PM plus Ver. 5.20 UM - Renesas Electronics
Digital Signal Processing with V850 and V850E Devices Application
CA850 Ver. 3.20 C Compiler Package C Language UM
CA850 Ver. 3.20 C Compiler Package Operation UM
CA850 Ver.3.20 C Compiler Package Link Directives UM
QB-V850EMA3 In-Circuit Emulator UM
Oscilloscope Mode (cont`d)
Oscilloscope Mode (cont`d)
QB-V850ESIX2 In-Circuit Emulator UM
E1/E20 Emulator Additional Document for User`s Manual