mirror of
https://github.com/elliotnunn/powermac-rom.git
synced 2024-06-15 00:29:30 +00:00
rtc style
This commit is contained in:
parent
05350c4884
commit
dbb5a001b8
|
@ -53,11 +53,9 @@ IllegalInstruction
|
|||
bc BO_IF_NOT, 15, @FAIL
|
||||
|
||||
@retry_rtc
|
||||
DIALECT POWER
|
||||
mfrtcu r20
|
||||
mfrtcl r21
|
||||
mfrtcu r23
|
||||
DIALECT POWERPC
|
||||
mfspr r20, rtcu
|
||||
mfspr r21, rtcl
|
||||
mfspr r23, rtcu
|
||||
xor. r23, r23, r20
|
||||
lis r23, 1000000000 >> 16
|
||||
rlwinm r28, r8, 13, 25, 29 ; r28 = dest register number * 4
|
||||
|
|
|
@ -2848,9 +2848,9 @@ FDP_18d8
|
|||
|
||||
FDP_18ec
|
||||
DIALECT POWER
|
||||
mfrtcu r20 ; RTCU = 4
|
||||
mfrtcl r21 ; RTCL = 5
|
||||
mfrtcu r23 ; RTCU = 4
|
||||
mfspr r20, rtcu
|
||||
mfspr r21, rtcu
|
||||
mfspr r23, rtcu
|
||||
DIALECT PowerPC
|
||||
|
||||
xor. r23, r23, r20
|
||||
|
|
Loading…
Reference in New Issue
Block a user