| |
|
|
| so, following question: I must a structure produce, The two Words and a Doubleword contains. How beget I in ASM these structure? How belege I in ASM the second Word with a number? How belege I in ASM the Doubleword with the address one Strings?
PS: your small Einstiegstutorial here find I very well. |
|
|
| |
|
|
|
Frank Abbing | Since there it several Opportunities. The simplest is, the structure as Speicherbereich To see:
|
|
|
| |
|
|
|
| OK, understood: 2x4 are so too 8. |
|
|
| |
|
|
|
Frank Abbing | who rather right Structures likes. here an example To Andreas question:
|
|
|
| |
|
|
|
| for me as Beginner is first time Variante 1 leichter To understand. |
|
|
| |
|
|
|
Frank Abbing | therefore I had tappt im dunkeln too first posted. I yourself use too often Variante 1. there has one More control.
[quote:2b44ac7651]PS: your small Einstiegstutorial here find I very well.[/quote:2b44ac7651] thanks! is directly for Profan-Quereinsteiger virtual and possible simply held. |
|
|
| |
|
|
|
| would be too the following weg?
.data
COUNTED_ANSI_STRING dw 0,0,0,0
string db "Probetext",0
.code
lea ebx,COUNTED_ANSI_STRING
mov ax,11
mov [ebx+2],ax
mov [ebx+0],ax
lea edx,string
mov [ebx+4],edx
on byte 0 the structure should then 11 stand, on byte 2 should then 11 stand and on byte 4 The address the Strings - correctly.? |
|
|
| |
|
|
|
Frank Abbing | not on byte, separate on Offset. but otherwise have you got right. the can you too slight yourself to check on, because You whom Debugger The values spend can:
Schreib times under your code. |
|
|
| |
|
|
|
| KLASSE,very so what have I yet used. thanks! |
|
|
| |
|
|