# HG changeset patch # User Michael Pavone # Date 1472530661 25200 # Node ID 5338b9affd09231bef5731014a143d28c1643705 # Parent 718aaedc4582cddf4c6bc81fe1237c726c045c6f Updated HTML documentation to reflect CPU changes diff -r 718aaedc4582 -r 5338b9affd09 simple16.html --- a/simple16.html Mon Aug 29 21:17:12 2016 -0700 +++ b/simple16.html Mon Aug 29 21:17:41 2016 -0700 @@ -116,18 +116,17 @@
  • cmp rA, rD
  • call rA, rD
  • swap rA, rD
  • -
  • in rA, rD
  • -
  • out rA, rD
  • +
  • longjmp
  • ini IM, rD
  • outi IM, rD
  • addi IM, rD
  • andi IM, rD
  • ori IM, rD
  • +
  • xori IM, rD
  • lsli IM, rD
  • lsri IM, rD
  • cmpi IM, rD
  • reti rD
  • -
  • trap rD
  • trapi IM
  • getepc rD
  • setepc rD
  • @@ -710,17 +709,13 @@

    -

    in rA, rD

    +

    longjmp rA, rD

    - Reads a word from the IO port indicated by rA and stores it in rD. + Sets PC to rA and PCH to the low 7-bits of rD

    Flags: No change

    -

    out rA, rD

    -

    - Writes the word stored in rD to the IO port indicated by rA. -

    Flags: No change

    @@ -747,14 +742,18 @@

    andi IM, rD

    - Performs a logical and of IM and the value in rD and stores the result in rD. IM can range from -8 to -1 or 1 to 8. A value of 0 is used to indicate 8. + Performs a bitwise and of IM and the value in rD and stores the result in rD. IM can range from -8 to -1 or 1 to 8. A value of 0 is used to indicate 8.

    Flags: C = unmodified, N = result is negative, Z = result is zero

    ori IM, rD

    - Performs a logical or of IM and the value in rD and stores the result in rD. IM can range from-8 to -1 or 1 to 8. A value of 0 is used to indicate 8. + Performs a bitwise or of IM and the value in rD and stores the result in rD. IM can range from -8 to -1 or 1 to 8. A value of 0 is used to indicate 8. +

    +

    xori IM, rD

    +

    + Performs a bitwise exclusive or of IM and the value in rD and stores the result in rD. IM can range from -8 to -1 or 1 to 8. A value of 0 is used to indicate 8.

    Flags: C = unmodified, N = result is negative, Z = result is zero