<feed xmlns='http://www.w3.org/2005/Atom'>
<title>toy-cpu-assembler/test/Makefile, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.nah.nz/toy-cpu-assembler/'/>
<entry>
<title>Fix and add tests for NULL deref cases found by scan-build</title>
<updated>2019-08-11T05:22:20+00:00</updated>
<author>
<name>David Phillips</name>
<email>david@sighup.nz</email>
</author>
<published>2019-08-11T05:22:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nah.nz/toy-cpu-assembler/commit/?id=2d2628df0001d2b643811dc69717c4afe70c4e31'/>
<id>2d2628df0001d2b643811dc69717c4afe70c4e31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add initial emulator implementation</title>
<updated>2019-08-03T12:13:59+00:00</updated>
<author>
<name>David Phillips</name>
<email>david@sighup.nz</email>
</author>
<published>2019-08-03T12:13:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nah.nz/toy-cpu-assembler/commit/?id=9aa02bebf295ce9436451e0ce85db7717a6c9f81'/>
<id>9aa02bebf295ce9436451e0ce85db7717a6c9f81</id>
<content type='text'>
This emulator provides a rough way for binaries designed for this CPU to be
executed in a virtual/emulated CPU for testing purposes. This patch also adds
a small test setup for automated assembly, execution and checking of register
postconditions for programs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This emulator provides a rough way for binaries designed for this CPU to be
executed in a virtual/emulated CPU for testing purposes. This patch also adds
a small test setup for automated assembly, execution and checking of register
postconditions for programs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for asm-disasm-asm, fix bug with labels</title>
<updated>2019-08-03T00:44:12+00:00</updated>
<author>
<name>David Phillips</name>
<email>david@sighup.nz</email>
</author>
<published>2019-07-29T10:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nah.nz/toy-cpu-assembler/commit/?id=5544ad5c06bee5f562dddd055c571818bc0d0119'/>
<id>5544ad5c06bee5f562dddd055c571818bc0d0119</id>
<content type='text'>
This adds a support script for future expansion of an asm-&gt;disasm-&gt;asm
series of tests, which will at minimum ensure some parity between the
assembler and disassembler. Lower level tests to ensure correct behaviour
rather than just symmetrical behaviour belong in another set of tests.

This patch also fixes the assembler's behaviour around numeric labels.
Many other assemblers support entirely numeric labels, and the output
of the disassembler includes them. The assembler has been adjusted to
lex a probably-numeric as a label if it is at the start of the line.
Otherwise, old label behavour and old numeric behaviour is left in
place.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a support script for future expansion of an asm-&gt;disasm-&gt;asm
series of tests, which will at minimum ensure some parity between the
assembler and disassembler. Lower level tests to ensure correct behaviour
rather than just symmetrical behaviour belong in another set of tests.

This patch also fixes the assembler's behaviour around numeric labels.
Many other assemblers support entirely numeric labels, and the output
of the disassembler includes them. The assembler has been adjusted to
lex a probably-numeric as a label if it is at the start of the line.
Otherwise, old label behavour and old numeric behaviour is left in
place.
</pre>
</div>
</content>
</entry>
</feed>
