263
APPENDIX A Instruction Lists
A.1 Symbols Used in Instruction Lists
This section describes symbols used in the FR family instruction lists.
■ Symbols Used in Instruction Lists
● Symbols in Mnemonic and Operation Columns
• i4 ............. 4-bit immediate data, range 0 to 15 with zero extension, and –16 to –1 with minus extension
• i8 ............. unsigned 8-bit immediate data, range 0 to 255
• i20 ........... unsigned 20-bit immediate data, range 00000
H
to FFFFF
H
• i32 ........... unsigned 32-bit immediate data, range 00000000
H
to FFFFFFFF
H
• s8............. signed 8-bit immediate data, range –128 to 127
• s10........... signed 10-bit immediate data, range –512 to 508 (in multiples of 4)
• u4 ............ unsigned 4-bit immediate data, range 0 to 15
• u8 ............ unsigned 8-bit immediate data, range 0 to 255
• u10 .......... unsigned 10-bit immediate data, range 0 to 1020 (multiples of 4)
• udisp6...... unsigned 6-bit address values, range 0 to 60 (multiples of 4)
• disp8........ signed 8-bit address values, range –0x80 to 0x7F
• disp9........ signed 9-bit address values, range –0x100 to 0xFE (multiples of 2)
• disp10...... signed 10-bit address values, range –0x200 to 0x1FC (multiples of 4)
• dir8.......... unsigned 8-bit address values, range 0 to 0xFF
• dir9.......... unsigned 9-bit address values, range 0 to 0x1FE (multiples of 2)
• dir10........ unsigned 10-bit address values, range 0 to 0x3FC(multiples of 4)
• label9....... signed 9-bit branch address, range –0x100 to 0xFE (multiples of 2) for the value of PC
• label12..... signed 12-bit branch address, range –0x800 to 0x7FE (multiples of 2) for the value of PC
• Ri, Rj....... indicates a general-purpose register (R00 to R15)
• Rs ............ indicates a dedicated register (TBR, RP, USP, SSP, MDH, MDL)
● Symbols in Operation Column
• extu()....... indicates a zero extension operation, in which values lacking higher bits are complemented
by adding the value "0" as necessary.
• extn()....... indicates a minus extension operation, in which values lacking higher bits are complemented
by adding the value "1" as necessary.
• exts() ....... indicates a sign extension operation in which a zero extension is performed for the data
within ( ) in which the MSB is 0 and a minus extension is performed for the data in which the
MSB is 1.
• ( )............. indicates indirect addressing, which values reading or loading from/to the memory address
where the registers within ( ) or the formula indicate.
• { }............ indicates the calculation priority; ( ) is used for specifying indirect address