summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-04-10 01:53:54 +0000
committerrsiddharth <s@ricketyspace.net>2018-04-10 01:53:54 +0000
commit7468748399c61c54fdaa5ce0fa6f0455f60edd1a (patch)
tree86bd2263adda9d7e4adcb7bdfcbd36b1e5375859
parent8a73e7fbf81c2dca44b72638fd4c2e4a8c98b35a (diff)
Update mix/1.3.2/saddle-point.mixal
-rw-r--r--mix/1.3.2/saddle-point.mixal10
1 files changed, 6 insertions, 4 deletions
diff --git a/mix/1.3.2/saddle-point.mixal b/mix/1.3.2/saddle-point.mixal
index a40cf62..924a612 100644
--- a/mix/1.3.2/saddle-point.mixal
+++ b/mix/1.3.2/saddle-point.mixal
@@ -16,12 +16,13 @@ RC ENT5 4095 Contains the current row min.
ENT2 -1 Reset I2
3H ENT1 0,4 Store address of min in I1
INC2 1
- ST4 1000,2 Store address also in aux. list.
+ ST3 1000,2 Store j in aux. list.
4H INC4 1
- INC3 1 Incr counter
+ INC3 1 Incr j counter
CMP3 =8=
JLE 2B
-PCOL LD6 1000,2 Position of first row in min col
+PCOL LD6 1000,2 Position of first row in min col
+ INC6 1008
ENT3 1 i counter
6H CMP5 0,6
JL 8F
@@ -32,7 +33,8 @@ PCOL LD6 1000,2 Position of first row in min col
JMP STOP
8H DEC2 1
J2N RC
- LD1 1000,2 Load address of new min in I1.
+FUCK LD1 1000,2 Load address of new min in I1.
+ INC1 -9,4
JMP PCOL
STOP HLT
END START