flat assembler
Message board for the users of flat assembler.

flat assembler > OS Construction > defining variables and constants

Author
Thread Post new topic Reply to topic
nepumuk



Joined: 17 Jul 2017
Posts: 1
Location: Essen, Germany
When I try to define a Variables or constants, i end up in an infinite boot loop....

willkommen_text:
satz db 'sleeping_Dragon Kernel-Projekt V.-0.0.0-1',13,10,0
ret

can somebody tell what's wrong, and what i must do to prevent this behaviour?
Post 18 Jul 2017, 14:56
View user's profile Send private message Reply with quote
BAiC



Joined: 22 Mar 2011
Posts: 255
Location: California
are you expecting the string to be executable? the "ret" will not be executed if you fall into (or jump into) the "willkommen_text" address. the code will crash from trying to execute the string as code.
Post 18 Jul 2017, 16:17
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 cannot attach files in this forum
You can download files in this forum


Copyright © 2004-2018, Tomasz Grysztar.

Powered by rwasa.