aboutsummaryrefslogtreecommitdiff
path: root/projects/12/MemoryTest/MemoryTest.tst
blob: 1da34fd9edf8fe172dbfc2e97a467d3be8648f69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/12/MemoryTest/MemoryTest.tst

load,
output-file MemoryTest.out,
compare-to MemoryTest.cmp,
output-list RAM[8000]%D2.6.1 RAM[8001]%D2.6.1 RAM[8002]%D2.6.1 RAM[8003]%D2.6.1 RAM[8004]%D2.6.1 RAM[8005]%D2.6.1;

repeat 1000000 {
  vmstep;
}

output;