mirror of
https://github.com/PDP-10/its.git
synced 2026-03-06 11:23:32 +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:
@@ -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
|
||||
Reference in New Issue
Block a user