// // hello_loop.iml (c) 1997 - 2000 Kari Laitinen // // This program prints the characters of text "Hello!" // in a loop. The text is defined with the keyword STRING // in the end of the program. As the iml compiler puts a // zero in the end of the string, the program knows when // to stop printing characters. beginning_of_program: set_memory_pointer address_of_text display_characters: load_register_a_from_memory jump_if_register_a_zero end_of_program output_byte_from_register_a increment_memory_pointer jump_to_address display_characters end_of_program: stop_processing address_of_text: STRING "Hello!"