Open triforce opened 7 years ago
Hmmmmmmm, I can't really make up my mind haha.
So far I think I prefer it without a leading space a bit more, like:
mov rax, rbx ;This is a comment.
Probably jut because of habit with other languages:
a = {} #This is a comment.
cout << "blah"; //This is a comment.
System.out.println("blah"); //Another comment.
etc.
That being said, the example in the yasm manual does have the space:
label: instruction operands ; comment
So let's go with that then.
Hi, would you be able to update your branch to the latest and make a PR?
Only a very trivial issue however code comments seem a bit inconsistent. Should we standardize on:
mov rax, rbx ; This is a comment
Space after ';' and start with capital letter?