micro_asm_test.py (4507:487b70cfd58d) micro_asm_test.py (4509:cb4aa1952ea4)
1# Copyright (c) 2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 77 unchanged lines hidden (view full) ---

86 bah
87 .untweak
88 .print "In the midst"
89 bah
90 dah # single line comment after something
91 .tweak
92};
93
1# Copyright (c) 2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 77 unchanged lines hidden (view full) ---

86 bah
87 .untweak
88 .print "In the midst"
89 bah
90 dah # single line comment after something
91 .tweak
92};
93
94#Extending the rom...
95def rom
96{
97 #Here's more stuff for the rom
98 bah
99};
100
94def macroop squashy {
95 bah
96};
97
98def macroop jumper (bar);
99'''
100assembler.assemble(testAssembly)
101def macroop squashy {
102 bah
103};
104
105def macroop jumper (bar);
106'''
107assembler.assemble(testAssembly)