-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adicionado pacote constants, alterada segunda passage, corrigido bug …
…na primeira passagem, subtituidos textos fixos pelas constantes
- Loading branch information
1 parent
caad956
commit a4107ea
Showing
5 changed files
with
67 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package constants | ||
|
||
const ( | ||
//TextSection texto para seção text | ||
TextSection = "text" | ||
|
||
//DataSection texto para seção data | ||
DataSection = "data" | ||
|
||
//LabelNotFound erro de label não encontrada | ||
LabelNotFound = "Label not found" | ||
|
||
//NoneInstructionFound erro de nome de instrução não encontrado | ||
NoneInstructionFound = "None instruction found for this name: %s" | ||
|
||
//InvalidOperandCount erro de quantidade de operadores invalidas | ||
InvalidOperandCount = "Invalid operand count" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters