Merge pull request #42 from philbudne/master
fix init assembly; fix as7 "rim" format
This commit is contained in:
@@ -227,11 +227,11 @@ elsif ($format eq 'ptr') { # dump absolute memory in PTR binary
|
|||||||
elsif ($format eq 'rim') { # PDP-7 Read In Mode
|
elsif ($format eq 'rim') { # PDP-7 Read In Mode
|
||||||
for my $loc ( 0 .. $#Mem ) {
|
for my $loc ( 0 .. $#Mem ) {
|
||||||
if (defined($Mem[$loc])) {
|
if (defined($Mem[$loc])) {
|
||||||
punch(0200000 | $loc ); # LAC addr
|
punch(0040000 | $loc ); # DAC addr
|
||||||
punch($Mem[$loc] || 0);
|
punch($Mem[$loc] || 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
punch($OUT, 0740040 ); # HLT
|
punch(0740040 ); # HLT
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
die("unknown format $format");
|
die("unknown format $format");
|
||||||
|
|||||||
Reference in New Issue
Block a user