It is currently Tue Oct 17, 2017 1:43 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Jun 24, 2017 7:21 pm 
Offline
User avatar

Joined: Sun Jun 11, 2017 5:39 pm
Posts: 39
I have a huge code with ASM 6. I use

.org $B045

It goes up like to $B500

I'd like a message when compiling or an easy way to know what is the address of a specific line in RAM (for example $B302)

Let's say it's my code

LDA #$00
STA $340 ;WHERE IS IT??
LDA #$01

I would like to have the address where second instruction is in RAM without searching it. Is there a way?


Top
 Profile  
 
PostPosted: Sat Jun 24, 2017 7:25 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10046
Location: Rio de Janeiro - Brazil
When assembling, ask the assembler to create a listing file. In that file you'll see the entire program and the addresses of everything.


Top
 Profile  
 
PostPosted: Sat Jun 24, 2017 7:26 pm 
Offline
User avatar

Joined: Sun Jun 11, 2017 5:39 pm
Posts: 39
thanks!! I saw this option, I had no idea what a listing was!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: FrankenGraphics, tepples and 10 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:  
Powered by phpBB® Forum Software © phpBB Group