From b27311dd4330a393cc700d8b1385a855a404ef86 Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 30 Dec 2005 13:29:30 +0000 Subject: [PATCH] fix memory initialisation --- detpic/misc.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/detpic/misc.asm b/detpic/misc.asm index 5076592..eada682 100644 --- a/detpic/misc.asm +++ b/detpic/misc.asm @@ -80,9 +80,9 @@ memory_erase_byteloop bra memory_erase_byteloop ; new page: - mov_lw 0x05 - cmp_fw_ifle FSR0H - bra memory_erase_pageloop + mov_lw 0x06 + xor_wfw FSR0H + bra_nz memory_erase_pageloop ; done! mov_ff FSR1L, picno -- 2.30.2