Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
Added a space between numbers and comments in GAS.
Browse files Browse the repository at this point in the history
  • Loading branch information
FlatAssembler authored Jun 13, 2020
1 parent 16b1202 commit c3f88c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions compiler.html
Original file line number Diff line number Diff line change
Expand Up @@ -825,8 +825,8 @@ <h1 id="titleBar">
"IEEE754 hex of " +
this.text +
"<\/span>"
: (syntax == "gas" ? "#" : ";") +
" IEEE754 hex of " +
: (syntax == "gas" ? " #" : " ;") +
"IEEE754 hex of " +
this.text)
);
fld();
Expand Down Expand Up @@ -1004,7 +1004,9 @@ <h1 id="titleBar">
(syntax == "gas" ? " ptr" : "") +
" [" +
this.text.substr(0, this.text.length - 1) +
"+4*ebx] ;In case the program is supposed to be 16-bit, simply replace 'ebx' with 'bx'. In case it's 64-bit, replace the 'mov' in the last directive with 'movsx' and 'ebx' with 'rbx' in both this and the last directive."
"+4*ebx]"+(syntax=="fasm"?
" ;In case the program is supposed to be 16-bit, simply replace 'ebx' with 'bx'. In case it's 64-bit, replace the 'mov' in the last directive with 'movsx' and 'ebx' with 'rbx' in both this and the last directive."
:"")
);
}
} //Ako je this.text naziv neke varijable
Expand Down

0 comments on commit c3f88c1

Please sign in to comment.