flat assembler
Message board for the users of flat assembler.
Index
> Non-x86 architectures > STM32 and 44k of data org doesn't work! |
Author |
|
revolution 28 Apr 2016, 11:20
Don't use org. It is not designed for your purpose. You can use "db":
Code: org <somewhere> ;... <somewhere> data goes here db (<newPlace> - $) dup 0xff ;create some padding ;<newPlace> data goes here |
|||
28 Apr 2016, 11:20 |
|
deearhunter 28 Apr 2016, 13:42
Thanks!
The $ sign means current location? So I have to pad from about 3k (my program end) until the first 16k boundary if I want to have my tables start at that location. I'll make an "empty program" that starts at the 16k boundary and burn it first hoping that the programmer doesn't erase that part of the chip. I was hoping for some assembler directives like segment .table at 0x0.... It's kind of vexing, techniques that I've used for ages (since 78 ) doesn't work when migrating to a new platform. |
|||
28 Apr 2016, 13:42 |
|
revolution 28 Apr 2016, 15:34
deearhunter wrote: The $ sign means current location? |
|||
28 Apr 2016, 15:34 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.