Changed shift functions, added info about shift runtime functions

git-svn-id: svn://svn.cc65.org/cc65/trunk@3142 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-06-30 19:18:56 +00:00
parent 9d8d2a3229
commit 07419b62f8
2 changed files with 13 additions and 6 deletions

View File

@@ -2990,8 +2990,8 @@ void g_asr (unsigned flags, unsigned long val)
/* Primary = TOS >> Primary */
{
static char* ops [12] = {
0, "tosasra0", "tosasrax",
0, "tosshra0", "tosshrax",
0, 0, "tosasrax",
0, 0, "tosshrax",
0, 0, "tosasreax",
0, 0, "tosshreax",
};
@@ -3080,8 +3080,8 @@ void g_asl (unsigned flags, unsigned long val)
/* Primary = TOS << Primary */
{
static char* ops [12] = {
0, "tosasla0", "tosaslax",
0, "tosshla0", "tosshlax",
0, 0, "tosaslax",
0, 0, "tosshlax",
0, 0, "tosasleax",
0, 0, "tosshleax",
};
@@ -3090,7 +3090,7 @@ void g_asl (unsigned flags, unsigned long val)
/* If the right hand side is const, the lhs is not on stack but still
* in the primary register.
*/
if (flags & CF_CONST) {
if (flags & CF_CONST) {
switch (flags & CF_TYPE) {