Fixed docs to include two error messages. Fixed a typo, no change in functionality.

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@95 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2017-11-03 15:14:55 +00:00
parent 7cb100c480
commit 3867147615
3 changed files with 11 additions and 3 deletions

View File

@ -221,6 +221,10 @@ Found '}' instead of end-of-file.
Garbage data at end of statement.
There are still arguments when there should not be any more.
Hex digits are not given in pairs.
The two digits of a hex byte are separated by another character,
or there is an odd number of digits.
Illegal combination of command and addressing mode.
The given command cannot be used with the given addressing mode on
the CPU you have chosen.
@ -248,6 +252,10 @@ Macro parameter twice.
The same symbol name is used two (or more) times in the same macro
parameter list.
Negative size argument.
The size argument of "!bin" or "!skip" must be zero or positive,
but cannot be negative.
Negative value - cannot choose addressing mode.
Because the argument is a negative value, ACME does not know what
addressing mode (8 bits, 16 bits, on a 65816 even 24 bits) to use.

View File

@ -232,9 +232,9 @@ static enum eos po_hex(void) // now GotByte = illegal char
continue;
}
// if we're here, the current character is not a hex digit,
// which ist only allowed outside of pairs:
// which is only allowed outside of pairs:
if (digits == 1) {
Throw_error("Hex digits are not given in pairs");
Throw_error("Hex digits are not given in pairs.");
return SKIP_REMAINDER; // error exit
}
switch (GotByte) {

View File

@ -9,7 +9,7 @@
#define RELEASE "0.96.3" // update before release FIXME
#define CODENAME "Fenchurch" // update before release
#define CHANGE_DATE "30 Oct" // update before release FIXME
#define CHANGE_DATE "3 Nov" // update before release FIXME
#define CHANGE_YEAR "2017" // update before release
//#define HOME_PAGE "http://home.pages.de/~mac_bacon/smorbrod/acme/"
#define HOME_PAGE "http://sourceforge.net/p/acme-crossass/" // FIXME