mirror of
https://github.com/PDP-10/its.git
synced 2026-01-13 15:27:28 +00:00
Fix 11LOGO bug in MOD procedure.
The EAE puts the modulo in the AC which is before, not after MQ.
This commit is contained in:
parent
29f02fe112
commit
73dea2d621
@ -511,9 +511,9 @@ DIV.1: JSR PC,G2NARG
|
||||
MOV #MQ,F
|
||||
MOV B,(F) ;DIVIDEND
|
||||
MOV A,DIVIDE
|
||||
MOV (F)+,B ;PICK UP QUOTIENT
|
||||
MOV (F),B ;PICK UP QUOTIENT
|
||||
ADD D,PC ;IF DIVIDE DESIRED, BRANCHES TO DONEMP
|
||||
DIV.8: MOV (F)+,B ;IF MOD DESIRED, STAYS HERE
|
||||
DIV.8: MOV -(F),B ;IF MOD DESIRED, STAYS HERE
|
||||
BR DONEMP ;AND PICKS UP REMAINDER
|
||||
|
||||
;PREDICATES
|
||||
Loading…
x
Reference in New Issue
Block a user