Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use32
- buf1 db 0x11, 0x20, 0x04, 0x01
- buf2 db 0x11, 0x28, 0x02, 0x01
- init_pic:
- mov esi, pic_loop
- push esi
- sub esi, pic_loop-buf1
- movzx edx, byte [esi+1]
- pic_loop:
- outsb
- inc edx
- outsb
- outsb
- outsb
- add dl,0x7F
- ret
Advertisement
Add Comment
Please, Sign In to add comment