Commit 848b7109 authored by Robert Sprowson's avatar Robert Sprowson Committed by ROOL
Browse files

Fix for 26 bit pre filter exit

PRM 3-305 says to return with MOVS PC,LR but in the 26 bit case we were not preserving flags.
parent a119c768
......@@ -43,7 +43,11 @@ pre_filter_handler
LDR r1,pre_filters
CMP r1,#0
[ No26bitCode
Pull "r1-r2,PC",EQ ; End of list.
Pull "r1-r2,PC",EQ,^ ; End of list.
LDR r14,[r1,#next_ptr]
Push "r14"
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