Sujet : Re: Why VAX Was the Ultimate CISC and Not RISC
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.archDate : 12. Mar 2025, 01:38:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vqql32$28fls$4@dont-email.me>
References : 1 2 3 4 5
User-Agent : Pan/0.162 (Pokrosvk)
On Wed, 12 Mar 2025 00:26:50 -0000 (UTC), John Levine wrote:
Next was PDP=11 where MOV R1,R2 copies R1 into R2.
What about CMP (compare) versus SUB (subtract)? CMP does the subtract
without updating the destination operand, only setting the condition
codes. But are the operands the same way around as SUB (i.e. backwards for
comparison purposes) or are they flipped?