// hello_world_thrice.iml (c) 1997 - 2000 Kari Laitinen // This program utilizes a subroutine to print text. beginning_of_program: load_register_a_with_value '\n' output_byte_from_register_a set_memory_pointer hello_world_text call_subroutine display_text load_register_a_with_value '\n' output_byte_from_register_a set_memory_pointer hello_world_text call_subroutine display_text load_register_a_with_value '\n' output_byte_from_register_a set_memory_pointer hello_world_text call_subroutine display_text end_of_program: stop_processing display_text: load_register_a_from_memory jump_if_register_a_zero end_of_display_text output_byte_from_register_a increment_memory_pointer jump_to_address display_text end_of_display_text: return_to_calling_program hello_world_text: STRING "Hello, world."