about summary refs log tree commit diff
path: root/src/run.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-02-22 16:03:27 +0100
committerEmile <hanemile@protonmail.com>2020-02-22 16:03:27 +0100
commit65b7d6b97bb1b9ef0ab8bec307ef05f79b14066b (patch)
tree8932f0b9f769f0d92f44cc9aa859331f2c63dea5 /src/run.go
parent3ed43806e9254d070484b8a267b2379bfddde91b (diff)
update
Diffstat (limited to 'src/run.go')
-rw-r--r--src/run.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run.go b/src/run.go
index 1149c41..9afad38 100644
--- a/src/run.go
+++ b/src/run.go
@@ -27,8 +27,8 @@ func user(r2p *r2pipe.Pipe, id int, registers string, config Config) string {
 	res += "+++\n"
 	res += fmt.Sprintf("%s\n", r2cmd(r2p, fmt.Sprintf("%s %d @ 0\n", "prx", config.Memsize)))
 	res += "+++\n"
-	//res += r2cmd("pxw 32 @r:SP") + "\n"
-	//res += r2cmd("pD %d @ %s"%(size[uidx], orig[uidx]))
+	res += fmt.Sprintf("%s\n", r2cmd("pxw 32 @r:SP"))
+	res += fmt.Sprintf("%s\n", r2cmd("pD %d @ %s"%(size[uidx], orig[uidx]))
 
 	return res
 }