Shop Learn
New P2 Silicon - Page 28 — Parallax Forums

New P2 Silicon

1222324252628»

Comments

  • Kuba: PICTURES! :)

  • evanhevanh Posts: 10,912
    edited 2021-04-27 01:11

    Chip,
    I've noticed what seems to be a few redundant two-operand instructions in the instruction set. Namely NEGC, NEGNC, NEGZ, and NEGNZ.
    As far as I can tell, IF_C NEG is exactly the same as NEGC and likewise for IF_NC NEG and IF_Z NEG and IF_NZ NEG respectively.

    Ah, got it. Doh! They are different in that NEGC always moves data, whereas IF_C NEG only moves data if true.

Sign In or Register to comment.