We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 796f9fa commit 5f9b76bCopy full SHA for 5f9b76b
arm.go
@@ -66,7 +66,10 @@ Found a bug? Feel free to raise an issue on https://github.com/coderick14/ARMed
66
Contributions welcome :)`
67
68
func main() {
69
- var err error
+ var (
70
+ err error
71
+ choice string
72
+ )
73
helpPtr := flag.Bool("help", false, "Display help")
74
allPtr := flag.Bool("all", false, "Display all registers after each instruction")
75
endPtr := flag.Bool("end", false, "Display registers only at end")
@@ -144,8 +147,11 @@ func main() {
144
147
return
145
148
}
146
149
Memory.ShowRegisters(*allPtr)
150
+ fmt.Printf("Continue [Y/n]? : ")
151
+ fmt.Scanln(&choice)
152
+ if choice == "n" {
153
+ break;
154
+ }
155
-
156
157
0 commit comments