🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.asm.x86
1 messages
1 total messages Started by debreczeni peter Wed, 12 Aug 1998 00:00
[TASM] struc in a struc and curly brackets
#127
Author: debreczeni peter
Date: Wed, 12 Aug 1998 00:00
51 lines
2156 bytes
hi

i have two structures, like:

row_t struc
 flags dd ?
 note dd ?
ends

pattern_t struc 
 flags dd ?
 bpm dd ?
 rows row_t <>
ends


ok.. and when i declare a pattern, like:

pat01 pattern_t <1234h, 230, <1,2>> 
tasm says need expression
i tried a lot of versions varying with ?'s and <>'s but i couldn't get
tasm to compile it

also there's another one:

if i say 
blabla_t struc
 huhu db ?
 haha db ?,?
         ?,?
ends

and

bla1 blabla_t <1,2,3>

2 will be the assigned to the first ? after haha, and 3 to the one in
the 2nd line... so there will the 2 other bytes won't be initialized...
how do i assign a value to them?

ok... and the third problem is:

my pattern struc is too big and i can't assemble using \-s, because it
also says line too long. the doc says to use { and },
but i can't get it to work with strucs, only enums. it also says need
expression...huh?

--
cranx/rhyme
cranx@scene-hu.com
rhyme.scene-hu.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads