Mercurial > repos > simple16
diff simple16.html @ 45:5338b9affd09
Updated HTML documentation to reflect CPU changes
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 29 Aug 2016 21:17:41 -0700 |
parents | a64e11e48a41 |
children | 5f30c4d18d79 |
line wrap: on
line diff
--- 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 @@ <li><a href="#cmp">cmp rA, rD</a></li> <li><a href="#call">call rA, rD</a></li> <li><a href="#swap">swap rA, rD</a></li> - <li><a href="#in">in rA, rD</a></li> - <li><a href="#out">out rA, rD</a></li> + <li><a href="#longjmp">longjmp</a></li> <li><a href="#ini">ini IM, rD</a></li> <li><a href="#outi">outi IM, rD</a></li> <li><a href="#addi">addi IM, rD</a></li> <li><a href="#andi">andi IM, rD</a></li> <li><a href="#ori">ori IM, rD</a></li> + <li><a href="#xori">xori IM, rD</a></li> <li><a href="#lsli">lsli IM, rD</a></li> <li><a href="#lsri">lsri IM, rD</a></li> <li><a href="#cmpi">cmpi IM, rD</a></li> <li><a href="#reti">reti rD</a></li> - <li><a href="#trap">trap rD</a></li> <li><a href="#trapi">trapi IM</a></li> <li><a href="#getepc">getepc rD</a></li> <li><a href="#setepc">setepc rD</a></li> @@ -710,17 +709,13 @@ </tr> </table> </p> - <h4 id="in">in rA, rD</h4> + <h4 id="longjmp">longjmp rA, rD</h4> <p> - 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 </p> <p> <strong>Flags:</strong> No change </p> - <h4 id="out">out rA, rD</h4> - <p> - Writes the word stored in rD to the IO port indicated by rA. - </p> <p> <strong>Flags:</strong> No change </p> @@ -747,14 +742,18 @@ </p> <h4 id="andi">andi IM, rD</h4> <p> - 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. </p> <p> <strong>Flags:</strong> C = unmodified, N = result is negative, Z = result is zero </p> <h4 id="ori">ori IM, rD</h4> <p> - 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. + </p> + <h4 id="ori">xori IM, rD</h4> + <p> + 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. </p> <p> <strong>Flags:</strong> C = unmodified, N = result is negative, Z = result is zero