Modular implement method for operating system of single-chip microcomputer
A technology of operating system and implementation method, applied in the direction of program startup/switching, inter-program communication, multi-program device, etc. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] Firstly, it introduces the realization principle of the operating system in the 8031 / 8051 assembly system, and then introduces the interface provided to the application program and the structure of the application program.
[0022] The steps involved in the diagram are as follows:
[0023] Step 21 Environment initialization
[0024] Step 22: Process the timer data area
[0025] Step 23 judge whether the scheduling queue is empty
[0026] Step 24 judges whether it is a timeout message
[0027] Step 25 judge whether the verification value is correct
[0028] Step 26 Take out the messages in the queue and schedule according to the process scheduling table
[0029] Step 27 returns the message to the free memory management queue
[0030] Step 31 Save the interrupt environment
[0031] Step 32 Find the bytes to be processed in the interrupt task scheduler, and prepare to process the 0th task
[0032] Step 33 judge whether the current task needs to be scheduled
[0033...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 