From 19b9305f020398d62ced265f949ddfe9a905f7b9 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 11 May 2004 20:32:36 +0000 Subject: [PATCH] Added 6502 illegal instructions git-svn-id: svn://svn.cc65.org/cc65/trunk@3022 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/ca65.sgml | 46 ++++++++++++++++++++++++++++++++++------------ src/ca65/instr.c | 21 +++++++++++++++++---- 2 files changed, 51 insertions(+), 16 deletions(-) diff --git a/doc/ca65.sgml b/doc/ca65.sgml index f39841406..13195bfc4 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -309,6 +309,8 @@ The assembler accepts all valid 6502 mnemonics when in 6502 mode (the default or after the command was given). +all valid 6502 mnemonics plus a set of illegal instructions when in + . all valid 65SC02 mnemonics when in 65SC02 mode (after the command was given). all valid 65C02 mnemonics when in 65C02 mode (after the @@ -338,17 +340,36 @@ mnemonics: TSA is an alias for TSC -Evaluation of banked expressions in 65816 mode differs slightly from the -official syntax: -Instead of accepting a 24 bit address (something that is difficult for -the assembler to determine and would have required one more special -.import command), the bank and the absolute address in that bank are -separated by a dot: - - jsl 3.$1234 ; Call subroutine at $1234 in bank 3 - +6502X mode