From 0435cdd3595f95218f4518885cc5384e9bdc9672 Mon Sep 17 00:00:00 2001 From: Bernard Blackham Date: Fri, 15 Aug 2003 17:10:38 +0000 Subject: [PATCH] Off-by-one errors --- ROM2/memory.x | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ROM2/memory.x b/ROM2/memory.x index f33b3a8..bb70544 100644 --- a/ROM2/memory.x +++ b/ROM2/memory.x @@ -1,9 +1,9 @@ MEMORY { /* we squeeze both page0 and data into the internal 256 bytes of RAM */ - page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x007f - data (rw) : ORIGIN = 0x0080, LENGTH = 0x007f - text (rx) : ORIGIN = 0x8000, LENGTH = 0x7fff + page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x0080 + data (rw) : ORIGIN = 0x0080, LENGTH = 0x0080 + text (rx) : ORIGIN = 0x8000, LENGTH = 0x8000 } /* Setup the stack on the top of the data internal ram (not used). */ -- 2.20.1