Advertisement
iocoder

firmware.s

Dec 30th, 2013
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .text
  2. # starts @ 0xF0000 (0xF000:0x0000)
  3.  
  4. .code16
  5.  
  6. .global _start
  7. _start:
  8.         mov $0x2000, %ax
  9.         mov %ax, %ds
  10.         mov %ax, %es
  11. jumper:
  12.         mov  %al, 0x00
  13.         inc  %al
  14.         jmp jumper
  15.  
  16. .section .entry, "ax"
  17. # starts @ 0xFFFF0 (0xFFFF:0x0000)
  18.  
  19. .global _entry
  20. _entry:
  21.     ljmp $0xf000, $0x0000
  22. .string "27/12/2013"
  23. .org    0x10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement