參數(shù)資料
型號: HIF_SPEC
英文描述: EZ-030 Demonstration Board Theory of Operation Host Interface (HIF) Specification
中文描述: 易- 030演示板的經(jīng)營理論主機接口(誘導(dǎo)因子)規(guī)格
文件頁數(shù): 69/118頁
文件大?。?/td> 356K
代理商: HIF_SPEC
Host Interface (HIF) Specification
3–45
Service 257 – sysalloc
Allocate Memory Space
Description
This service allocates a specified number of contiguous bytes from the
operating-system-maintained heap and returns a pointer to the base of the
allocated block.
lr2
contains the number of bytes requested. If the storage is
successfully allocated,
gr96
contains a pointer to the block; otherwise,
gr121
contains an error code indicating the reason for the call failure.
Register Usage
Type
Regs
Contents
Description
Calling:
gr121
257 (0x101)
Service number
lr2
nbytes
Number of bytes requested
Returns:
gr96
addrptr
Success: pointer to allocated bytes
Failure: = 0 (NULL pointer)
Logical TRUE, service successful
Error number, service not successful
(implementation dependent)
gr121
0x80000000
errcode
Example Call
blkptr:
.word
0
const
lr2,1200
;request 1200 bytes
const
gr121,257
;service = 257
asneq
69,gr1,gr1
;call the OS
jmpf
gr121,alloc_err ;jump if error
const
gr120,blkptr
;set address to store
consth
gr120,blkptr
;pointer
store
0,0,gr96,gr120
;store the pointer
The example call requests a block of 1200 contiguous bytes from the system
heap. If the call is successful, the program stores the pointer returned in
gr96
into a local variable called
blkptr
. If
gr121
contains a boolean FALSE value
when the service returns, the program jumps to
alloc_err
to handle the error
condition.
相關(guān)PDF資料
PDF描述
HIGHCURRENTSWITCHINGAPPLICATION (286.88 k)
DC-DCCONVERTERANDMOTORDRIVEAPPLICATIONS (286.88 k)
HIGHVOLTAGECAPACITORS(DATASHEETS) Ceramic Capacitors. 1000 V-5000 V
HIGHVOLTAGECERAMICCAPACITORS(GENERALINFO) Ceramic Capacitors. 1000 V-5000 V
HIH-3602-A Signal Conditioner
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HIG-A 制造商:Cooper Bussmann 功能描述:
HIGH DENSITY BALUN ASSY TOOL 制造商:ITT Interconnect Solutions 功能描述:HIGH DENSITY BALUN ASSY TOOL / T4837 / RF
HIGHCURRENTVOLTAGEKIT 制造商:Lapp 功能描述:4 Way top entry 制造商:Lapp Group 功能描述:4 Way top entry
HIGHLAND 制造商:3M Electronic Products Division 功能描述:Highland™ Vinyl Electrical Tape - 3/4" x 66'
HIGHLAND TAPE 制造商:3M Electronic Products Division 功能描述:TAPE INSULATION PVC BLACK 19MMX20.1M 制造商:3M Electronic Products Division 功能描述:TAPE, INSULATION, PVC, BLACK, 19MMX20.1M 制造商:3M Electronic Products Division 功能描述:TAPE, INSULATION, PVC, BLACK, 19MMX20.1M; Tape Type:Electrical Insulation; Tape Backing Material:PVC (Polyvinyl Chloride); Tape Width - Metric:19mm; Tape Width - Imperial:0.748"; Tape Length - Metric:20.1m; Tape Color:Black ;RoHS Compliant: Yes