URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
Subversion Repositories zipcpu
Compare Revisions
- This comparison shows the changes necessary to convert path
/zipcpu/trunk
- from Rev 77 to Rev 78
- ↔ Reverse comparison
Rev 77 → Rev 78
/doc/iset.html
406,8 → 406,8
<TR><TD>5'h19</TD><TD>FPSUB</TD><TD>Floating point subtract</TD></TR> |
<TR><TD>5'h1a</TD><TD>FPMPY</TD><TD>Floating point multiply</TD></TR> |
<TR><TD>5'h1b</TD><TD>FPDIV</TD><TD>Floating point divide</TD></TR> |
<TR><TD>5'h1c</TD><TD>FPDIV</TD><TD>Floating point divide</TD></TR> |
<TR><TD>5'h1d</TD><TD>FPDIV</TD><TD>Floating point divide</TD></TR> |
<TR><TD>5'h1c</TD><TD>FPCVT</TD><TD>Convert integer to floating point</TD></TR> |
<TR><TD>5'h1d</TD><TD>FPINT</TD><TD>Convert floating point to integer</TD></TR> |
<TR><TD>5'h1e</TD><TD rowspan=2 colspan=3 align=center><em>Reserved for future use</em></TD></TR> |
<TR><TD>5'h1f</TD></TR> |
</TABLE> |
456,7 → 456,12
<TR><TD valign=top>IRET</TD><TD>OR $GIE,CC</TD><TD>Also an RTU instruction |
(Return to Userspace)</TD></TR> |
<TR><TD valign=top>JMP R6+$Addr</TD><TD>MOV $Addr(R6),PC</TD><TD> </TD></TR> |
<TR><TD valign=top>JSR PC+$Addr</TD><TD>MOV $3+PC,R12<BR>MOV $addr+PC,PC</TD> |
<TR><TD valign=top>LJMP $Addr</TD><TD>LOD (PC),PC<BR><EM>$Address</em></TD><TD> |
Although this only works for an unconditional jump, and it only |
works in a Von-Neumann architecture, this instruction |
combination makes for a nice combination that can be adjusted |
by a linker at a later time.</TD></TR> |
<TR><TD valign=top>JSR PC+$Addr</TD><TD>MOV $2+PC,R12<BR>MOV $addr+PC,PC</TD> |
<TD>Jump to subroutine. |
Note that this high speed version of a JSR call needs a register to |
hold the last PC address. In its favor, it doesn't suffer the mandatory |