Machine Language Programming Summary - Omron SYSMAC CV500-BSC11 Operation Manual

Basic units
Table of Contents

Advertisement

Machine Language

6-3-6 Machine Language Programming Summary

User program
source code area
Variable area
118
To call a machine language program from the BASIC program, use the CALL
statement or USR function.
Beginning
Machine Lan-
guage program
RETF
DEF USR
DEF SEG
BASIC program
CALL
USR
VARPTR
ABCD
Variable
Return to BASIC
program
MSET command defines
beginning of BASIC
program area
Defines start address of
machine language function
Declares segment address
Calls machine language
program (any address)
Calls machine language
function
Reads variable storage address
Section 6-3

Advertisement

Table of Contents
loading

Table of Contents