Changes

Jump to: navigation, search

Motorola 68000

469 bytes added, 2 February
/* Register Structure */
* Data Registers (D0–D7): These are 32 bits wide and are used for general-purpose arithmetic and logical operations. However, when operating on byte or word data, only the lower 8 or 16 bits are affected.
* Address Registers (A0–A7): Also 32 bits wide, these registers are used for pointer operations and addressing modes. A7 doubles as the stack pointer (SP), and separate supervisor (SSP) and user (USP) stacks are supported in privileged modes.
* Status Register (SR): This 16‑bit register comprises an 8‑bit system byte (accessible only in supervisor mode) and an 8‑bit user byte known as the condition code register (CCR). **The CCR contains the standard flags—zero (Z), carry (C), overflow (V), negative (N), and extend (X). Notably**The 3 least significant bits (bits 8, 9 and 10) of the extend bit Status register’s System byte form the interrupt mask. The interrupt priorities are numbered from 1 to 7, with level 7 having the highest priority. The level 7 interrupt is nonmaskable and thus cannot be disabled.**Bit 13 of the status register is the S flag, which specifies whether the MC68000 is used in multi‑precision arithmetic to propagate carries between successive 16‑bit operationssupervisor mode or user mode.**Bit 15 of the status register is the T flag, which specifies whether the MC68000 is critical given that in trace mode. After each instruction is executed in the ALU trace mode, a trap is only 16 bits wideforced so that a debugging program can monitor the results of that instruction’s execution.
== Instruction Set ==
13,153
edits