flat assembler
Message board for the users of flat assembler.

flat assembler > Heap > Bug in post

Author
Thread Post new topic Reply to topic
ProMiNick



Joined: 24 Mar 2012
Posts: 213
Location: Russian Federation, Sochi
I decided to write here not in "Learning binary file formats (work in progress)"
Code:
macro distanceto address
        dd address - $
end macro    


defines a new instruction that can be used like:
Code:
distanceto digits    


and it then simply executes the following command:
Code:
db digits - $ ; error is here db instead of dd     

_________________
I don`t like to refer by "you" to one person.
My soul requires acronim "thou" instead.
Post 02 Aug 2018, 09:12
View user's profile Send private message Send e-mail Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7008
Location: Kraków, Poland
ProMiNick wrote:
I decided to write here not in "Learning binary file formats (work in progress)" (...)
That thread is closed for now anyway, since the text is still under development. But thank you for catching my mistake!
Post 02 Aug 2018, 09:27
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2018, Tomasz Grysztar.

Powered by rwasa.