section 7 - Index of

section 7 - Index of section 7 - Index of

11.07.2015 Views

RESETReset On-Chip Peripheral DevicesRESETOperation:Reset the interrupt priority registerand all on-chip, peripheralsAssembler Syntax:RESETDescription: Reset the interrupt priority register and all on-chip peripherals. This is asoftware reset which is NOT equivalent to a hardware reset since only on-chip peripheralsand the interrupt structure are affected. The processor state is not affected, and executioncontinues with the next instruction. All interrupt sources are disabl,ed except forthe trace, stack error, NMI, illegal instruction, and hardware reset interrupts.Restrictions: A RESET instruction cannot be the last instruction in a DO loop (at LA).Example:RESET;reset all on-chip peripherals and IPRExplanation of Example: The execution of the RESET instruction resets all on-chipperipherals and the interrupt priority register (IPR).Condition Codes:I: I DM I T 1** JR 81 I 80 I 11 I :1.8 I liE I u 1 N15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0The condition codes are not affected by this instructionI z I v I ~I

RESETReset On-Chip Peripheral DevicesRESETInstruction Format:RESETOpcode:23 16 15 8 7la a a a a a a ala a a a a a a al1aa a a a 1 a alInstruction Fields:NoneTiming: 4 oscillator clock cyclesMemory: 1 program word

RESETReset On-Chip Peripheral DevicesRESETOperation:Reset the interrupt priority registerand all on-chip, peripheralsAssembler Syntax:RESETDescription: Reset the interrupt priority register and all on-chip peripherals. This is as<strong>of</strong>tware reset which is NOT equivalent to a hardware reset since only on-chip peripheralsand the interrupt structure are affected. The processor state is not affected, and executioncontinues with the next instruction. All interrupt sources are disabl,ed except forthe trace, stack error, NMI, illegal instruction, and hardware reset interrupts.Restrictions: A RESET instruction cannot be the last instruction in a DO loop (at LA).Example:RESET;reset all on-chip peripherals and IPRExplanation <strong>of</strong> Example: The execution <strong>of</strong> the RESET instruction resets all on-chipperipherals and the interrupt priority register (IPR).Condition Codes:I: I DM I T 1** JR 81 I 80 I 11 I :1.8 I liE I u 1 N15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0The condition codes are not affected by this instructionI z I v I ~I

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!