Guide:Writing pnach files: Difference between revisions

Tweaked headers
(Added formatting)
(Tweaked headers)
Line 1:
This guide contains documentation on how to write patches in pnach files.
 
== Constant writes ==0
 
=== 8-bit constant write ===
<pre>
Line 181 ⟶ 182:
 
All following codes will be executed only if 32-bit value at address @a is equal to the value @v.
=== Do multi-lines if conditional ===
 
==== 16-bit test ====
 
 
=== Do multi-lines if conditional ===
=== 16-bit test ===
<pre>
D-aaaaaaa 0000vvvv
</pre>
 
==== 8-bit test ====
<pre>
D-aaaaaaa 000000vv
Line 199 ⟶ 198:
 
=== Do multi-lines if conditional ===
 
=== 16-bit test ===
=== = 16-bit test ====
<pre>
E-0nnvvvv taaaaaaa
</pre>
 
==== 8-bit test ====
<pre>
E-1nn00vv taaaaaaa