Commit 7c6ec8c6 authored by Stewart Brodie's avatar Stewart Brodie
Browse files

Assembler veneers to Toolbox_Memory SWI are 32-bit capable.

Admin:
  Built.

Version 0.07. Tagged as 'Common-0_07'
parent 74882f7d
/* (0.06)
/* (0.07)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 0.06
#define Module_MajorVersion_CMHG 0.07
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 17 Nov 1999
#define Module_MajorVersion "0.06"
#define Module_Version 6
#define Module_MajorVersion "0.07"
#define Module_Version 7
#define Module_MinorVersion ""
#define Module_Date "17 Nov 1999"
#define Module_FullVersion "0.06"
#define Module_FullVersion "0.07"
......@@ -25,20 +25,29 @@ XToolbox_Memory * &64EF9
EXPORT toolbox_memory_free
EXPORT toolbox_memory_extend
MACRO
MOVRet $cond
[ {CONFIG}=26
MOV$cond.S pc,r12
|
MOV$cond pc,r12
]
MEND
toolbox_memory_alloc
MOV R12,LR
MOV R1,R0
MOV R0,#0
SWI XToolbox_Memory
MOVVS R0,#0
MOVS PC,R12
MOVRet
toolbox_memory_free
MOV R12,LR
MOV R1,R0
MOV R0,#1
SWI XToolbox_Memory
MOVS PC,R12
MOVRet
toolbox_memory_extend
MOV R12,LR
......@@ -47,6 +56,6 @@ toolbox_memory_extend
MOV R0,#2
SWI XToolbox_Memory
MOVVS R0,#0
MOVS PC,R12
MOVRet
END
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