You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Time Base Facility (TBR) | 2 | Calculate, Store, and Load 32-bit fixed-point numbers|
35
+
| Condition Register | 1 | Stores conditions based on the results of fixed-point operations|
36
+
| Floating Point Condition Register | 1 | Stores conditions based on the results of floating-point operations |
37
+
| Vector Status and Control Register (VSCR) | 1 | Stores conditions based on the results of vector operations|
38
+
| Machine State Register (MSR)| 1| Stores the state of the processor|
41
39
42
40
43
41
# Special Registers
@@ -50,6 +48,9 @@ Up to 128 instruction entries and 128 data entries can be stored at a time.
50
48
| RTC Lower Register (RTCL) | 5 | (601 only) |
51
49
| Link Register (LR) | 8 ||
52
50
| Counter Quotient Register (CTR) | 9 ||
51
+
| Search Description Register (SDR1)| 25 | Specifies starting address of the page table |
52
+
| Save and Restore Register 0 (SRR0)| 26 ||
53
+
| Save and Restore Register 1 (SRR1)| 27 ||
53
54
| Vector Save/Restore | 256 | (G4+) |
54
55
| Time Base Lower (TBL) | 268 | (603+) |
55
56
| Time Base Upper (TBU) | 269 | (603+) |
@@ -58,7 +59,7 @@ Up to 128 instruction entries and 128 data entries can be stored at a time.
58
59
| Hardware Implementation 0 (HID0) | 1008 ||
59
60
| Hardware Implementation 1 (HID1) | 1009 ||
60
61
61
-
# HID 0
62
+
##HID 0
62
63
63
64
| Model | Bits Enabled |
64
65
| :------------ | :------------------ |
@@ -70,6 +71,34 @@ Up to 128 instruction entries and 128 data entries can be stored at a time.
70
71
| 604E | NHR |
71
72
| 750 (G3) | NHR, DOZE/NAP/SLEEP |
72
73
74
+
# Exceptions
75
+
76
+
nnn is either 0x000 or 0xFFF, depending on the 25th bit (0x40) set in the MSR. Usually, the 25th bit is set when booting up a system and unset after it is set.
PowerPC supports both big-endian and little-endian modes. Mac OS largely operates in big-endian mode, due to its 68k heritage.
101
+
73
102
# Eccentricities
74
103
75
104
* The HW Init routine used in the ROMs uses the DEC (decrement; SPR 22) register to measure CPU speed. With a PowerPC 601, the DEC register operates on the same frequency as RTC - 7.8125 MHz but uses only 25 most significant bits. In other words, it decrements by 128 at 1/7.8125 MHz.
0 commit comments