Reputation: 871
I saw a assembly like:
b.gt memzero
I think I know the meaning of b.gt
but not sure why the syntax is legal. By developer guide, I've not seen any syntax like this.
Are there any document regulate this kind of syntax? Or how can I call it?
Upvotes: 1
Views: 473
Reputation: 23820
As commenters have mentioned, you have the wrong guide. You need the 64-bit guide if you're looking at 64-bit code.
In A64, the instruction is formally called b.cond
, where cond
can be any condition code.
The dot has no special meaning, just like in ret
, the e
has no special meaning. It's just a sequence of characters defined by ARM.
Also note that this "Reference Guide" on their website is quite malicious - for example, clicking the "Condition Codes" link on the b.cond
page will take you out of the A64 guide and into the A32/T32 guide. I therefore recommend you download the PDF instead and stick with it.
Upvotes: 5