You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be clear, I haven't used the setup in HelloSilicon, I'm just using Xcode out of the box. Still, this might be relevant here as well.
One caveat I've come across is that GAS generates local symbols for labels starting with the letter l. Thus, labels such as 'loop' are completely ignored by the debugger and breakpoint and single stepping behavior becomes weird. For example, setting a breakpoint anywhere in the loop will pause execution only at the next label in program order (say, cont in upper.s). Also, single stepping and hitting a branch back to loop (e.g. B.NE loop) doesn't get back there, but again hits the next label. Just mentioning this, since many examples in the book have loops.
The text was updated successfully, but these errors were encountered:
To be clear, I haven't used the setup in HelloSilicon, I'm just using Xcode out of the box. Still, this might be relevant here as well.
One caveat I've come across is that GAS generates local symbols for labels starting with the letter
l
. Thus, labels such as 'loop' are completely ignored by the debugger and breakpoint and single stepping behavior becomes weird. For example, setting a breakpoint anywhere in the loop will pause execution only at the next label in program order (say,cont
in upper.s). Also, single stepping and hitting a branch back toloop
(e.g.B.NE loop
) doesn't get back there, but again hits the next label. Just mentioning this, since many examples in the book haveloop
s.The text was updated successfully, but these errors were encountered: