Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e45028b65d | |||
| e28ad4de5a | |||
| 890f884cce | |||
| 9dc7f61ed7 |
@@ -57,7 +57,7 @@ Produces
|
|||||||
11011000 10100000 00000000 00000000
|
11011000 10100000 00000000 00000000
|
||||||
11100000 10100000 00000000 00001111
|
11100000 10100000 00000000 00001111
|
||||||
11101000 00000000 00000000 00001000
|
11101000 00000000 00000000 00001000
|
||||||
11110000 00000000 00000000 00000000
|
11111000 00000000 00000000 00000000
|
||||||
```
|
```
|
||||||
|
|
||||||
## Releases
|
## Releases
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ enum TypeSautControle {
|
|||||||
Jsup,
|
Jsup,
|
||||||
Jinf,
|
Jinf,
|
||||||
Call,
|
Call,
|
||||||
Ret,
|
Ret = 7,
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::map<std::string, Instruction> INSTRUCTION_KEYS = {
|
static std::map<std::string, Instruction> INSTRUCTION_KEYS = {
|
||||||
@@ -205,8 +205,8 @@ std::uint32_t Assembleur::ParseInstruction(const std::string& a_Str, std::uint32
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (std::invalid_argument& e) {
|
} catch (std::exception& e) {
|
||||||
throw std::invalid_argument("[Line " + std::to_string(a_RealLine) + "] " + e.what());
|
throw std::invalid_argument(" [Line " + std::to_string(a_RealLine) + "] " + e.what() + "\n" + a_Str);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include "IO.h"
|
#include "IO.h"
|
||||||
|
|
||||||
#define ASSEMBLEUR_VERSION "1.8"
|
#define ASSEMBLEUR_VERSION "1.9"
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user