Commit 5a06b179 authored by Richard Leggett's avatar Richard Leggett
Browse files

Added Ursula service call table.

parent 16dccd9c
......@@ -251,7 +251,28 @@ FinalisationCode ROUT
]
Pull "pc"
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Table of service calls we want
ASSERT Service_Error < Service_Reset
ServiceTable
DCD 0
DCD ServiceUrsula - ModuleStart
DCD Service_Error
DCD Service_Reset
DCD 0
DCD ServiceTable - ModuleStart
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Module service entry point
ServiceCall ROUT
MOV r0, r0 ; Indicates there is a service call table
ServiceUrsula
CMP r1, #Service_Reset ; is it reset ? EQ,CSet if so
TEQNE r1, #Service_Error*4,2 ; or error ? EQ, CClear if so
MOVNE pc, lr
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment