6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun May 12, 2024 9:56 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Nov 11, 2015 11:25 am 
Offline

Joined: Sun Jan 02, 2011 2:33 pm
Posts: 8
Location: UK
I have some simple 6502 type assembler directives using the tass64 assembler as follows:-
Code:
.if   DeBugSubRoutne   | DB_Main =   True
Prog_DataBRK   =   MemoryTop+$800      ; Increments need to be whole "$200"
.else
Prog_DataBRK   =   MemoryTop      ; Upper Program Memory Stop!!
.fi
UpperMemLimit   =   Prog_DataBRK-1



; -------
When Assembling th code the assembler creates a list file as follows:-
Code:
=$1000               LowerMemLimit   =   $1000
=$4300               MemoryTop   =   $4300
=19200               Prog_DataBRK   =   MemoryTop+$800      ; Increments need to be whole "$200"
=19199               UpperMemLimit   =   Prog_DataBRK-1


My simple questin is how do I force the assembler to print the "Prog_DataBRK" in HEX format,.. I have tried some variations around using $ sign and looked through the docs,.. all to no avail,.. does anyone know if this is possible, and that I have missed the obvious..

Many Tx


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: