Tested a couple half-word instructions (so far, so good)
This commit is contained in:
parent
0255b7b891
commit
17e807ecb6
8 changed files with 479 additions and 579 deletions
|
|
@ -2,6 +2,42 @@
|
|||
"load": 0o100,
|
||||
"exec": 0o100,
|
||||
"data": [
|
||||
0o505040111111, // HRLI 1,111111
|
||||
0o505040111111, // HRLI 1,111111
|
||||
0o541040222222, // HRRI 1,222222
|
||||
0o544100000001, // HLR 2,1
|
||||
0o504100000001, // HRL 2,1
|
||||
//
|
||||
// >> dw 0 l4
|
||||
// 000000: 000000 000000 111111 222222 222222 111111 000000 000000
|
||||
//
|
||||
// Compare to SIMH:
|
||||
//
|
||||
// sim> dep 100 505040111111
|
||||
// sim> dep 101 541040222222
|
||||
// sim> dep 102 544100000001
|
||||
// sim> dep 103 504100000001
|
||||
// sim> ex -m 100-103
|
||||
// 100: HRLI 1,111111
|
||||
// 101: HRRI 1,222222
|
||||
// 102: HLR 2,1
|
||||
// 103: HRL 2,1
|
||||
// sim> dep pc 100
|
||||
// sim> step
|
||||
//
|
||||
// Step expired, PC: 000101 (HRRI 1,222222)
|
||||
// sim> step
|
||||
//
|
||||
// Step expired, PC: 000102 (HLR 2,1)
|
||||
// sim> step
|
||||
//
|
||||
// Step expired, PC: 000103 (HRL 2,1)
|
||||
// sim> step
|
||||
//
|
||||
// Step expired, PC: 000104 (000000000000)
|
||||
// sim> ex 0-3
|
||||
// 0: 000000000000
|
||||
// 1: 111111222222
|
||||
// 2: 222222111111
|
||||
// 3: 000000000000
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue