From 3867147615197af730fbcba4e6c786a49e688a31 Mon Sep 17 00:00:00 2001 From: marcobaye Date: Fri, 3 Nov 2017 15:14:55 +0000 Subject: [PATCH] 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 --- docs/Errors.txt | 8 ++++++++ src/pseudoopcodes.c | 4 ++-- src/version.h | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/Errors.txt b/docs/Errors.txt index ea5a0e4..6a21549 100644 --- a/docs/Errors.txt +++ b/docs/Errors.txt @@ -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. diff --git a/src/pseudoopcodes.c b/src/pseudoopcodes.c index eed7174..bb7d6dc 100644 --- a/src/pseudoopcodes.c +++ b/src/pseudoopcodes.c @@ -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) { diff --git a/src/version.h b/src/version.h index 95a4156..4455673 100644 --- a/src/version.h +++ b/src/version.h @@ -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