Doc Bot

Download | Tutorials | Instruction Set | Hardware Reference
Introduction | About Doc Bot | Site Map | Search | Use License | Contact Us
Download
Screenshots
Table Of Contents | Addressing Modes | Memory Model | External Ports | Instruction Set | Hardware Reference | Turn Cycles | File format
Table Of Contents | Introduction | Types Of Memory | Special Function Registers | Basic Registers | Addressing Modes | Program Flow | Timers | External Ports | Interrupts | Power Control Modes | Hardware Components
Table Of Contents | Calculate Square Roots | Safe Division

Documentation

small logo

RC-MRS Specific Instructions

SPL (&|@|@R)op1
  • Opcode: 0x11
  • Addresses: 2
  • Flags: none
  • Registers: PCSTACK
  • Function: Create new thread starting at op1

Creates a new thread and initializes its Program Counter (PC) at the memory address pointed to by op1. If no empty threads are available, program execution continues normally (but a cycle is spent processing the SPL instruction).

KILL
  • Opcode: 0x31
  • Addresses: 1
  • Flags: none
  • Registers: PCSTACK
  • Function: Kill current thread

Releases the current thread, efectively ending its execution. If the current thread is the last thread left, program execution ends with an abnormal termination.

Introduction | About Doc Bot | Site Map | Search | Use License | Contact Us
©2009 Daniel Julivert