![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268123.webp)
84
Instruction Functions
Section 2-2
2-2-18 Interrupt Control Instructions
GLOBAL SUB-
ROUTINE CALL
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
GSBS
750
Calls the subroutine with the specified subroutine number and exe-
cutes that program.
Output
Not required
825
GLOBAL SUB-
ROUTINE ENTRY
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
GSBN
751
Indicates the beginning of the subroutine program with the specified
subroutine number.
Output
Not required
833
GLOBAL SUB-
ROUTINE
RETURN (CS1-H,
CJ1-H, CJ1M, or
CS1D only)
GRET
752
Indicates the end of a subroutine program.
Output
Not required
836
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
SET INTERRUPT
MASK
(Not supported
by CS1D CPU
Units for Duplex-
CPU Systems.)
MSKS
@MSKS
690
Output
Required
840
READ
INTERRUPT
MASK
(Not supported
by CS1D CPU
Units for Duplex-
CPU Systems.)
MSKR
@MSKR
692
Reads the current interrupt processing settings that were set with
MSKS(690).
Output
Required
847
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
GSBS(750)
N
N
: Subroutine
number
GSBN(751)
N
N
: Subroutine
number
GRET(752)
MSKS(690)
N
C
N
: Interrupt
identifier
C
: Control data
Sets up interrupt processing for I/O interrupts or scheduled
interrupts. Both I/O interrupt tasks and scheduled interrupt tasks
are masked (disabled) when the PC is first turned on.
MSKS(690) can be used to unmask or mask I/O interrupts and
set the time intervals for scheduled interrupts.
Interrupt Input Unit 0 to 3
I/O
interrupt
Mask (1) or unmask (0)
interrupt inputs 0 to 7.
Time interval
Scheduled
interrupt
Set scheduled
interrupt time interval.
MSKR(692)
N
D
N
: Interrupt
identifier
D
:
Destination
word
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...