Skip to main content

Module output

Module output 

Source
Expand description

Generate the output binary, as a tape image file.

FunctionsΒ§

create_begin_block πŸ”’
Assemble a pair of instructions to go into registers 0o27 and 0o28, immediately after the reader leader. This instruction calls the user’s program (which begins at the address specified by the PUNCH meta command).
create_tape_block πŸ”’
Create (and return) a block of data ready to be punched to tape such that the standard reader leader can load it.
update_checksum πŸ”’
Update the checksum of an output block (incorporating a 36-bit value).
update_checksum_by_halfword πŸ”’
Update the checksum of an output block (incorporating an 18-bit value).
write_data πŸ”’
Write a sequence of 36-bit words in splayed/assembly mode.
write_user_program
Write the user’s program as a tape image file.