Browse Source

Fixed copy of interrupt vector

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6422 8c9fc860-2736-0410-a75d-ab315db34111
eth.negelef 10 years ago
parent
commit
775f859806
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/RPI.CPU.Mod

+ 1 - 1
source/RPI.CPU.Mod

@@ -193,7 +193,7 @@ END DisableInterrupt;
 
 PROCEDURE Initialize-;
 CODE
-	ADD	R2, PC, #vector
+	ADD	R2, PC, #vector-$-8
 	MOV	R3, #0
 	ADD	R4, R3, #vector_end - vector
 copy: