Download NEC uPD75P3116 User's Manual
Transcript
µPD75P3116 7. INSTRUCTION SET (1) Representation and coding formats for operands In the instruction’s operand area, use the following coding format to describe operands corresponding to the instruction’s operand representations (for further details, refer to the RA75X Assembler Package Language User’s Manual (U12385E)). When there are several codes, select and use just one. Codes that consist of uppercase letters and + or – symbols are keywords that should be entered as they are. For immediate data, enter an appropriate numerical value or label. Enter register flag symbols as label descriptors instead of mem, fmem, pmem, bit, etc. (for further details, refer to the User’s Manual). The number of labels that can be entered for fmem and pmem are restricted. Representation Coding Format reg X, A, B, C, D, E, H, L reg1 X, B, C, D, E, H, L rp XA, BC, DE, HL rp1 BC, DE, HL rp2 BC, DE rp’ XA, BC, DE, HL, XA’, BC’, DE’, HL’ rp’1 BC, DE, HL, XA’, BC’, DE’, HL’ rpa HL, HL+, HL–, DE, DL rpa1 DE, DL n4 4-bit immediate data or label n8 8-bit immediate data or label mem 8-bit immediate data or labelNote bit 2-bit immediate data or label fmem FB0H to FBFH, FF0H to FFFH immediate data or label pmem FC0H to FFFH immediate data or label addr 0000H to 3FFFH immediate data or label addr1 0000H to 3FFFH immediate data or label (Mk II mode only) caddr 12-bit immediate data or label faddr 11-bit immediate data or label taddr 20H to 7FH immediate data (however, bit 0 = 0) or label PORTn Port 0 to Port 3, Port 5, Port 6, Port 8, Port 9 IE××× IEBT, IECSI, IET0 to IET2, IE0 to IE2, IE4, IEW RBn RB0 to RB3 MBn MB0, MB1, MB15 Note When processing 8-bit data, only even-numbered addresses can be specified. Data Sheet U11369EJ3V0DS 19