Code: Select all
id_0:
offset1_0 dw 0
dw 0x08
dw 0x8E00
offset2_0 dw 0
id_1:
offset1_1 dw 0
dw 0x08
dw 0x8E00
offset2_1 dw 0
id_2:
offset1_2 dw 0
dw 0x08
dw 0x8E00
offset2_2 dw 0
etc...
Code: Select all
mov eax, _isr0
mov [offset1_0], ax
shr eax, 16
mov [offset2_0], ax
mov eax, _isr1
mov [offset1_1], ax
shr eax, 16
mov [offset2_1], ax
etc...
I have tried a few preprocessor commands, but failed to do it...
I was wondering how you guys did it and what preprocessor commands i should use to do this.
Thanks in advance,
Jules
P.S. I'm doing a radical re-modeling of my isrs...
edit: P.P.S Just out of interest is there anyway I could improve my posting? (Though this is off topic)