2016-02-29 | Paul Boddie | raw files shortlog changelog graph | Added missing multiplication registers to loading and storing. | |
stage2/handlers.S (file) |
1.1 --- a/stage2/handlers.S Mon Feb 29 21:29:44 2016 +0100 1.2 +++ b/stage2/handlers.S Mon Feb 29 21:47:48 2016 +0100 1.3 @@ -95,6 +95,11 @@ 1.4 nop 1.5 sw $k0, 116($k1) 1.6 1.7 + mflo $k0 1.8 + sw $k0, 120($k1) 1.9 + mfhi $k0 1.10 + sw $k0, 124($k1) 1.11 + 1.12 j $ra 1.13 nop 1.14 1.15 @@ -137,6 +142,11 @@ 1.16 mtc0 $k0, $14 /* CP0_EPC */ 1.17 nop 1.18 1.19 + sw $k0, 120($k1) 1.20 + mtlo $k0 1.21 + sw $k0, 124($k1) 1.22 + mthi $k0 1.23 + 1.24 eret 1.25 nop 1.26