//
// misc execution-related functions
//
misc execution-related functions
// // misc execution - related functions //
func (ui *Ui) loadProg(g *gocui.Gui, v *gocui.View) error {
	ui.p.LoadHex("data/program.hex")
	ui.p.CPU.PC = 0x1000
	ui.p.CPU.E = 0
	ui.p.CPU.M = 0
	ui.p.CPU.X = 0
	return nil
}
func ( ui * Ui ) loadProg ( g * gocui . Gui , v * gocui . View ) error { ui . p . LoadHex ( " " ) ui . p . CPU . PC = 0x1000 ui . p . CPU . E = 0 ui . p . CPU . M = 0 ui . p . CPU . X = 0 return nil }
misc execution-related functions
misc execution - related functions