Skip to content

Commit dad9018

Browse files
committed
BSAC304: Set pc to 0
1 parent ad76bb5 commit dad9018

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tptasm/archs/bsac.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ local function flash(model, target, opcodes)
111111
local opcode = opcodes[index] and opcodes[index].dwords[1] or 0x11FFFFFF
112112
sim.partProperty(id, "ctype", opcode)
113113
end
114+
115+
local pc_id = sim.partID(x + 19, y - 16)
116+
sim.partProperty(pc_id, "ctype", 0x10000000)
114117
end
115118

116119
return {

0 commit comments

Comments
 (0)