Shop OBEX P1 Docs P2 Docs Learn Events
Clarification on P2 OpCode Identification. - Page 2 — Parallax Forums

Clarification on P2 OpCode Identification.

2»

Comments

  • cgraceycgracey Posts: 14,152
    edited 2018-10-27 04:25
    __red__ wrote: »
    I think this is a mistake in the instructions_v??.txt in the fpga package.
    EEEE 1101011 00L DDDDDDDDD 000000111        LOCKREL D/#         {WC}
    

    We can't check for C if we mandate that C is zero? right?

    Did you look at the Google doc section that covers the LOCK bits? I can't remember what the deal is, exactly, but it's in that section. I believe it all makes sense.
  • Should be
    EEEE 1101011 C0L DDDDDDDDD 000000111        LOCKREL D/#         {WC}
    
  • cgraceycgracey Posts: 14,152
    ozpropdev wrote: »
    Should be
    EEEE 1101011 C0L DDDDDDDDD 000000111        LOCKREL D/#         {WC}
    

    Ah, sorry. I will fix that.
  • EEEE 1101011 00L DDDDDDDDD 000110101        COGBRK  D
    

    Ignore the L or is D/# valid?
  • nm, found it in the docs. Also needs to be updated in the TXT file.
    (I was automatically generating disassembly code from the TXT file hence why I was focused on that doc specifically).
  • cgraceycgracey Posts: 14,152
    edited 2018-10-27 07:24
    __red__ wrote: »
    EEEE 1101011 00L DDDDDDDDD 000110101        COGBRK  D
    

    Ignore the L or is D/# valid?

    It should be D/#.
  • Re minor corrections, in the spreadsheet XORO32 D comment should be "Iterate D with xoroshiro32++ ..."
Sign In or Register to comment.