Commit 833b0b02 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Fix SetMode macro

Detail:
  hdr/CPU/Generic32 - Copy-paste error led to wrong variable name in a conditional block
Admin:
  Tested on Raspberry Pi, Iyonix


Version 2.66. Tagged as 'HdrSrc-2_66'
parent 71306206
/* (2.65) /* (2.66)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1. * Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 2.65 #define Module_MajorVersion_CMHG 2.66
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 12 Jun 2016 #define Module_Date_CMHG 18 Jun 2016
#define Module_MajorVersion "2.65" #define Module_MajorVersion "2.66"
#define Module_Version 265 #define Module_Version 266
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "12 Jun 2016" #define Module_Date "18 Jun 2016"
#define Module_ApplicationDate "12-Jun-16" #define Module_ApplicationDate "18-Jun-16"
#define Module_ComponentName "HdrSrc" #define Module_ComponentName "HdrSrc"
#define Module_ComponentPath "castle/RiscOS/Sources/Programmer/HdrSrc" #define Module_ComponentPath "castle/RiscOS/Sources/Programmer/HdrSrc"
#define Module_FullVersion "2.65" #define Module_FullVersion "2.66"
#define Module_HelpVersion "2.65 (12 Jun 2016)" #define Module_HelpVersion "2.66 (18 Jun 2016)"
#define Module_LibraryVersionInfo "2:65" #define Module_LibraryVersionInfo "2:66"
...@@ -869,7 +869,7 @@ op SETA ($op2a) :OR: (0:SHL:25) ...@@ -869,7 +869,7 @@ op SETA ($op2a) :OR: (0:SHL:25)
MRS $oldpsr, CPSR MRS $oldpsr, CPSR
] ]
CPS #$newmode CPS #$newmode
ELIF No26bitCode :LOR: ($mode > SVC32_mode) ELIF No26bitCode :LOR: ($newmode > SVC32_mode)
[ "$oldpsr"<>"" [ "$oldpsr"<>""
MRS $oldpsr, CPSR MRS $oldpsr, CPSR
] ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment