Kan iemand mij uitleggen wat hier fout aan is?
Hij crashed met de melding 'priviliged instruction bla bla'
code:
Hij crashed met de melding 'priviliged instruction bla bla'
code:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| mov dx, 378h //set data port
add dx, 2h // Switch to controll port
mov al, 0x03 // RS=0, R/W=0, E=0
out dx, al
sub dx, 2h // Switch back to Data port
mov al, data
out dx, al
add dx, 2h // To controll port again
mov al, 0x02 // RS=0, R/W=0, E=1
out dx, al
mov al, 0x03 // RS=0, R/W=0, E=0
out dx, al
mov al, 0x01 // RS=0, R/W=1, E=0
out dx, al |
After all, we are nothing more or less than what we choose to reveal.