<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=Z80%3AOpcodes%3ARST</id>
	<title>Z80:Opcodes:RST - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=Z80%3AOpcodes%3ARST"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=Z80:Opcodes:RST&amp;action=history"/>
	<updated>2026-07-27T00:44:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=Z80:Opcodes:RST&amp;diff=261&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=Z80:Opcodes:RST&amp;diff=261&amp;oldid=prev"/>
		<updated>2016-02-05T22:00:37Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Short summary of instruction --&amp;gt;&lt;br /&gt;
The current PC value plus three is pushed onto the stack. The MSB is loaded with $00 and the LSB is loaded with imm8.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Syntax for this instruction --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    RST imm8&lt;br /&gt;
&lt;br /&gt;
=== Allowed Instructions ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- All possible inputs --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    RST $00&lt;br /&gt;
    RST $08 ;rOP1ToOP2&lt;br /&gt;
    RST $10 ;rFindSym&lt;br /&gt;
    RST $18 ;rPushRealO1&lt;br /&gt;
    RST $20 ;rMove9ToOP1&lt;br /&gt;
    RST $28 ;rBCALL&lt;br /&gt;
    RST $30 ;rFPAdd&lt;br /&gt;
    RST $38&lt;br /&gt;
&lt;br /&gt;
== Effects ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- What the instruction does to flags --&amp;gt;&lt;br /&gt;
All flags unaffected.&lt;br /&gt;
&lt;br /&gt;
== Uses ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- What the instruction can be used for --&amp;gt;&lt;br /&gt;
RST $28 is used by TI calculators for ROM calls.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    #define bcall(label) rst $28 \ .dw label&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== T-States ==&lt;br /&gt;
11 t-states&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Other instructions that are related to this one --&amp;gt;&lt;br /&gt;
[[Z80:Opcodes:DI|DI]],[[Z80:Opcodes:EI|EI]],[[Z80:Opcodes:IM|IM]],[[Z80:Opcodes:RET|RET]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]]&lt;br /&gt;
&lt;br /&gt;
{{lowercase}}&lt;br /&gt;
[[Category:Z80 Assembly]]&lt;br /&gt;
[[Category:Z80 Heaven]]&lt;br /&gt;
[[Category:Z80 Opcodes]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>