Quelqu'un sait comment manipuler,creer des matrice et liste en asm ??
Je suis en panne

Merci beaucoup
@++
Tutorial 24: Matrices!!
Symbol Table Tutorial 5.
Introduction.
From lists to matrices…this tutorial is how to store numbers to matrices. Predictably…I must thank Ian again for his massive contribution to figuring out matrices.
Matrices.
If you don't know what matrices are, they are (most of the time), 2-dimensional arrays, or lists within lists if its easier explain that way. An example of a matrix is:
2, 3, 4
3, 2, 4
1, 7, 4
1, 1, 0
That is a 3x4 matrix. Matrices are useful for a lot of things…especially in 3D programming (anyone for Quake-Ti?!)
New Commands.
_puttomat - bc is rol/col, de is address, op1 is number.
Code.
Ok, let's get stuck into this code:
...standard stuff... _errundefined .equ 467Bh .org 9327h call _zerooop1 ; clear op1 ld hl,op1 ; ld (hl),$02 ; inc hl ; ld (hl),$5C ; inc hl ; ld (hl),$00 ; call _chkfindsym ; look up list jp c,_errundefined ; error if not found push de ld hl,500 call _setxxxxop2 call _op1exop2 pop de ld bc,$0101 ; row 1 col 1 call _puttomat ; store it ret .end end
Ian loaded the name a rather interesting way…note how he used the actually token bytes, not the token equates. It is just as feasible to use the equates instead. Also notice how he pushes de (the address of the list), because the _setxxxxop2 and _op1exop2 screw around with the value of de, then then pops it later. Also, note, his orignal fault in the program was he was calling $11 for the row/col. You must have a 0 before the single digit…Ian's orignal program was trying to access (0,11) and was getting an "ERR: Link" message.
Conclusion.
That should just about finish us up on Symbol table tutorials…ah, perhaps not. The symbol table has so many uses.
All tutorials Copyright (c) James Matthews 1998, unless specified.
ld b,8 ld a,(liste+b)
a quoi servent les parenthèse :?
Cependant, je persiste à dire qu'il est réducteur de faire d'une variable asm un pointeur. De même que le fait de devoir affecter un type à une variable, cela reste pour moi, une limitation des langages de haut niveau.