create_tape_block

Function create_tape_block 

Source
fn create_tape_block(
    address: Address,
    code: &[Unsigned36Bit],
    last: bool,
) -> Result<Vec<Unsigned36Bit>, AssemblerFailure>
Expand description

Create a block of data ready to be punched to tape such that the standard reader leader can load it.

See reaaderleader.rs for documentation on the format of a block.

For the last block, the jump address is 0o26, which is the location within the reader leader which arranges to start the user’s program. For other blocks it is 3 (that is, we jump back to the start of the reader leader in order to load the next block).