flat assembler
Message board for the users of flat assembler.

Index > Windows > How to display an image? (gdi ddb dpi)

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20290
Location: In your JS exploiting you and your system
revolution 05 Sep 2017, 09:16
vivik wrote:
In this piece of code from r4fasm2.asm, there are multiple .fin labels. How does it know to jump to a correct one?
Labels beginning with a dot (.) are appended to the nearest preceding label that doesn't begin with a dot.
Code:
base_label1: ;no dot here
 ;...
.extension: ;full label name is: base_label1.extension
 ;...
.another: ;full label name is: base_label1.another
 ;...
jmp .extension ;go to label base_label1.extension

base_label2: ;no dot here
 ;...
.extension: ;full label name is: base_label2.extension
 ;...
.another: ;full label name is: base_label2.another
 ;...
jmp .extension ;go to label base_label2.extension    
Post 05 Sep 2017, 09:16
View user's profile Send private message Visit poster's website Reply with quote
pabloreda



Joined: 24 Jan 2007
Posts: 116
Location: Argentina
pabloreda 06 Sep 2017, 23:19
I use .label like a local label from function
Post 06 Sep 2017, 23:19
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:  
Goto page Previous  1, 2

< 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 © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.