<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE250%3Alab-9%3Ajhor053</id>
	<title>SE250:lab-9:jhor053 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE250%3Alab-9%3Ajhor053"/>
	<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:lab-9:jhor053&amp;action=history"/>
	<updated>2026-04-29T03:38:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.kram.nz/index.php?title=SE250:lab-9:jhor053&amp;diff=8578&amp;oldid=prev</id>
		<title>Mark: 7 revision(s)</title>
		<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:lab-9:jhor053&amp;diff=8578&amp;oldid=prev"/>
		<updated>2008-11-03T05:20:35Z</updated>

		<summary type="html">&lt;p&gt;7 revision(s)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Lab9==&lt;br /&gt;
&lt;br /&gt;
My option is lucky number 3. Too late to pull out? :P&lt;br /&gt;
&lt;br /&gt;
===Understanding===&lt;br /&gt;
My hardest bit is figuring out what is being passed to option 3 (and asking people who are doing option 2 dont quite have an idea) and what I am passing out.&lt;br /&gt;
&lt;br /&gt;
I have spent 2 hours trying to understand this and will get there sometime.&lt;br /&gt;
&lt;br /&gt;
===Task1===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;.long	_TOK_MUL&lt;br /&gt;
	.long	4&lt;br /&gt;
	.long	0&lt;br /&gt;
	.long	_TOK_DIV&lt;br /&gt;
	.long	4&lt;br /&gt;
	.long	0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is parsetree.c converted to an assembly file via gcc -S parsetree.c. Is this by what is for&lt;br /&gt;
&amp;lt;pre&amp;gt;1. Collect all identifiers that appear within the program, and for each&lt;br /&gt;
one emit code of the form&lt;br /&gt;
.globl _ident&lt;br /&gt;
_ident:&lt;br /&gt;
.long 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Task2===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Task3===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Task4===&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
Doing option 3 is rather confusion and perhaps a bit more explicitness would help.&lt;br /&gt;
&lt;br /&gt;
That said If i could get it going well it would be awesome as it supplements this course as well as another course compsys201 where we are learning assembly.&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
</feed>