From b0011c5759bb5a5dadad9383142cc73ab2d5b2cd Mon Sep 17 00:00:00 2001 From: ian Date: Wed, 12 Oct 2005 23:51:45 +0000 Subject: [PATCH] extern/global used as for gpasm from gputils 0.13.3-1.0iwj1 --- iwjpictest/test.inc | 3 +-- iwjpictest/test1.asm | 5 ++--- iwjpictest/test2.asm | 11 +++++------ 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/iwjpictest/test.inc b/iwjpictest/test.inc index 790af16..d0a6b9e 100644 --- a/iwjpictest/test.inc +++ b/iwjpictest/test.inc @@ -2,5 +2,4 @@ include /usr/share/gputils/header/p18f458.inc -; extern somewhere -; extern nothing_much + extern nothing_much diff --git a/iwjpictest/test1.asm b/iwjpictest/test1.asm index 997974d..41ab645 100644 --- a/iwjpictest/test1.asm +++ b/iwjpictest/test1.asm @@ -1,8 +1,7 @@ ; test for globals and res and stuff - extern nothing_much - global fixed - global somewhere + global fixed + global somewhere include test.inc diff --git a/iwjpictest/test2.asm b/iwjpictest/test2.asm index 46b799b..d0f1282 100644 --- a/iwjpictest/test2.asm +++ b/iwjpictest/test2.asm @@ -1,17 +1,16 @@ ; test for globals and res and stuff + extern somewhere + extern fixed + include test.inc code nothing_much - incf somewhere, 1 + incf somewhere, F lfsr 0, fixed - decf POSTINC0 + decf POSTINC0, F return - global nothing_much - extern somewhere - extern fixed - end -- 2.30.2