Skip to content

Commit

Permalink
Rename compiled_here to ram_here to make usage clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoeppen committed Apr 16, 2012
1 parent c6759eb commit c0f1ff4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions CoreForth.s
Expand Up @@ -10,7 +10,7 @@
.set F_LENMASK, 0x1f

.set link, 0
.set compiled_here, ram_start
.set ram_here, ram_start

@ ---------------------------------------------------------------------
@ -- Macros -----------------------------------------------------------
Expand Down Expand Up @@ -92,9 +92,9 @@ constaddr_\label :
.endm

.macro defvar name, label, size=4
defconst \name,\label,compiled_here
.set addr_\label, compiled_here
.set compiled_here, compiled_here + \size
defconst \name,\label,ram_here
.set addr_\label, ram_here
.set ram_here, ram_here + \size
.endm

.macro defdata name, label
Expand Down
2 changes: 1 addition & 1 deletion lm3s811.s
Expand Up @@ -619,5 +619,5 @@ eval_words:
.set end_of_rom, .

.set last_word, link
.set data_start, compiled_here
.set data_start, ram_here

2 changes: 1 addition & 1 deletion stm32p103.s
Expand Up @@ -393,5 +393,5 @@ eval_words:
.word 0xffffffff

.set last_word, link
.set data_start, compiled_here
.set data_start, ram_here

0 comments on commit c0f1ff4

Please sign in to comment.