From 7bc6428bc9d135a304578b79f6985c07f4a996d7 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sat, 23 Jul 2022 13:28:46 +0100 Subject: [PATCH] --- docs/pypowersim.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/pypowersim.mdwn b/docs/pypowersim.mdwn index 178b3fcf6..519f9aa64 100644 --- a/docs/pypowersim.mdwn +++ b/docs/pypowersim.mdwn @@ -74,6 +74,18 @@ example script 9 7: 1 # param 5: ptr_diff_t incr 1 ``` +**Example SPR file** + +See + +This file sets SPRs to explicit values prior to execution. In this +example Link Register LR is set to 0xffffffff which on completion +of the function sets PC to an invalid out-of-bounds value causing +program termination. + +``` +``` + ### Before running the tests! **NOTE**: Is this correct? -- 2.30.2