Guardian Procedure Calls Reference Manual
MOVEX Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Related Programming Manual
Summary
The MOVEX procedure moves data between extended data segments without the need for absolute
addressing; it serves both privileged and nonprivileged users.
Syntax for C Programmers
#include <cextdecs(MOVEX)>
short MOVEX ( [ short source-seg-id ]
,char *source
,[ short dest-seg-id ]
,char *dest
,__int32_t byte-count );
• CEXTDECS (through the included file TNSINTH) defines 32-bit values as the typedef
__int32_t, which for TNS and TNS/R compiles is defined as long and for TNS/E compiles
is defined as int.
Syntax for TAL Programmers
error := MOVEX ( [ source-seg-id ] ! i
,source ! i
,[ dest-seg-id ] ! i
,dest ! i
,byte-count ); ! i
Parameters
source-seg-id
input
INT:value
specifies the segment ID of the extended data segment referenced by source. If the relative
segment in source does not indicate an extended data segment, source-seg-id is ignored
and may be omitted; otherwise it is required and must indicate an existing extended data
segment.
source
input
STRING .EXT:ref
specifies the relative extended address of the source of the first byte to be moved.
838 Guardian Procedure Calls (M)