flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 02 Jul 2004, 04:42
Joey wrote: when i define a label do i have to initialize a block statement? No, you don't have to close block statements. Actually there are block statements only in preprocessor directives, such as "if - end if". In assembler itself, there is no block statements at all. Your code looks ok for me. The only problem can be "str_same" label that you didn't define in the code posted above. Regards. |
|||
![]() |
|
vid 02 Jul 2004, 19:56
btw, label were too in pascal (at least in turbo/borland), declared with "label" statement at variables definition place, and defined with name followed by ":", like
procedure a; label x begin if something>0 goto x write('a'); x: write('b'); end; Only difference is that in assembly you don't have to declare labels (like listing all labels with "label" statement in pascal), you only have to define them (name followed by colon). |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.