Fixed byte, string directives.

git-svn-id: http://www.cdkersey.com/harp/harptool@118 0246edb2-e076-4747-b392-db732a341fa2
This commit is contained in:
chad
2013-01-18 05:11:27 +00:00
parent ea03ccb47d
commit 4956625a86
6 changed files with 69 additions and 70 deletions

View File

@@ -78,10 +78,10 @@ loop4: ld %r1, %r0, array;
trap; /* All traps currently cause a halt. */
.perm rw /* TODO: How should I write section permissions? */
.string hello "\"Harp!\" is how a harp seal says hello!\n"
.string wrstr "Doing write\n"
.string wrfin "Done write\n"
.string xstr "Exiting loop\n"
hello: .string "\"Harp!\" is how a harp seal says hello!\n"
wrstr: .string "Doing write\n"
wrfin: .string "Did write\n"
xstr: .string "Exiting loop\n"
.global
array: .space 0x1000 /* SIZE words of space. */