New debugger implemented

This commit is contained in:
obscuren
2014-05-27 13:28:11 +02:00
parent d0b31e2030
commit 47417506c3
4 changed files with 25 additions and 18 deletions

View File

@ -175,19 +175,18 @@ ApplicationWindow {
}
function setAsm(asm) {
console.log("set asm", asm)
asmModel.append({asm: asm})
}
function clearAsm() {
asmModel.clear()
}
function setInstruction(num) {
asmTableView.selection.clear()
asmTableView.selection.select(num-1)
}
function clearAsm() {
asmModel.clear()
}
function setMem(mem) {
memModel.append({num: mem.num, value: mem.value})
}