Text preview for : Bas_inst.pdf part of Xrelais 3.1 X relais 3.1 Xrelais 3.1 loucozener



Back to : XRELAIS_3_1_COMP.part01.r | Home

University of Florida
Department of Electrical & Computer Engineering

EEL-3701/4744

Drs. E. M. Schwartz & A. A. Arroyo Professors in ECE
21-Aug-98 5:54 PM

Page 1/1

M68HC11 BASIC INSTRUCTION SET AND PROGRAMMERS MODEL

· Data Movement: PULA. PULB, PSHA, PSHB LDAA, LDAB, LDD STAA, STAB, STD LDS, LDX, LDY STS, STX, STY PULX, PULY, PSHX, PSHY TAB, TBA, TAP, TPA TSX, TXS, TSY, TYS, XGDX, XGDY · Arithmetic/Logic/Shift: ABA, ADDA, ADDB, ADDD, ABX, ABY ANDA, ANDB LSLA, LSLB, LSL, LSLD=ASLD SBA, SUBA, SUBB, SUBD, ORAA, ORAB LSRA, LSRB, LSR, LSRD ADCA, ADCB EORA, EORB ASLA, ASLB, ASL, ASLD=LSLD SBCA, SBCB ASRA, ASRB, ASR MUL, IDIV, FDIV RORA, RORB, ROR INCA, INCB, INC ROLA, ROLB, ROL DECA, DECB, DEC INX, INY, INS DEX, DEY, DES NEG, COM, DAA · Decision Making: No Flag Carry Flag Zero Flag Sign Flag Overflow Arithmetic Logical BRA BCC, BCS BEQ, BNE BMI, BPL BVS, BVC BGE, BGT BHI, BHS JMP BLE, BLT BLO, BLS · More Decision Making: BIT, CBA, CMPA, CMPB, CPD, CPX, CPY, TST, BRSET, BRCLR, BSR, JSR, RTS, RTI · Miscellaneous : BCLR, BSET, CLRA, CLRB, CLR, CLC, SEC, CLV, SEV, CLI, SEI, NOP, STOP, SWI, WAI · Addressing Modes: Immediate: The data value is included in the instruction {immediately follows the instruction opcode}. Direct The operand is the page 0 address of the data value. Extended The operand is the 16-bit address of the data value. Indexed The address of the data value is contained in Index Register X or Y. Inherent The opcode specifies the address of the data inside the CPU. Relative The destination of the branch instruction is specified relative to the address in the PC register.
15 7 D A 0 7 B 0 8-BIT ACCUMULATORS A AND B 0 OR 16-BIT DOUBLE ACCUMULATOR D 0 INDEX REGISTER X 0 INDEX REGISTER Y 0 STACK POINTER 0 PROGRAM COUNTER

15 15 15 15

IX IY SP PC

7 0 CONDITION CODE REGISTER(CCR) S X H I N Z VC CARRY/BORROW FROM MSB OVERFLOW ZERO NEGATIVE INTERRUPT MASK HALF CARRY (FROM BIT 3) X INTERRUPT MASK STOP DISABLE