File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2234,9 +2234,10 @@ def emit_start():
22342234 output = list ()
22352235 heap_init = ['%s:' % DATA_LABEL ]
22362236 output .append ('org %s' % OPTIONS .org .value )
2237-
2237+
22382238 if REQUIRES .intersection (MEMINITS ) or '__MEM_INIT' in INITS :
2239- heap_init .append ('; Defines HEAP SIZE\n ' + OPTIONS .heap_size_label .value + ' EQU ' + str (OPTIONS .heap_size .value ))
2239+ heap_init .append ('; Defines HEAP SIZE\n ' + OPTIONS .heap_size_label .value + ' EQU ' +
2240+ str (OPTIONS .heap_size .value ))
22402241 heap_init .append (OPTIONS .heap_start_label .value + ':' )
22412242 heap_init .append ('DEFS %s' % str (OPTIONS .heap_size .value ))
22422243
Original file line number Diff line number Diff line change @@ -349,8 +349,8 @@ def main(args=None, emitter=None):
349349
350350 tmp = [x for x in backend .emit (backend .MEMORY , optimize = False ) if x .strip ()[0 ] != '#' ]
351351 asm_output = backend .emit_start () + tmp \
352- + ['%s:' % backend .DATA_END_LABEL , '%s:' % backend .MAIN_LABEL ] \
353- + asm_output + backend .emit_end ()
352+ + ['%s:' % backend .DATA_END_LABEL , '%s:' % backend .MAIN_LABEL ] \
353+ + asm_output + backend .emit_end ()
354354
355355 if options .asm : # Only output assembler file
356356 with open_file (OPTIONS .outputFileName .value , 'wt' , 'utf-8' ) as output_file :
You can’t perform that action at this time.
0 commit comments