What happens when a programmer is bored

  • Thread starter Thread starter ry755
  • Start date Start date
  • Views Views 1,992
  • Replies Replies 16
  • Likes Likes 1

ry755

Well-Known Member
Member
Joined
Nov 29, 2017
Messages
534
Solutions
1
Reaction score
1,044
Trophies
1
Age
22
Location
California
Website
ry.cd-rom.net
XP
1,535
Country
United States
Code:
BITS 16
ORG 0x7C00
mov al, 72
mov ah, 0x0e
mov bh, 0x00
mov bl, 0x07
int 10h
mov al, 105
int 10h
mov al, 32
int 10h
mov al, 103
int 10h
mov al, 117
int 10h
mov al, 121
int 10h
mov al, 115
int 10h
mov al, 46
int 10h
mov al, 32
int 10h
mov al, 65
int 10h
mov al, 115
int 10h
mov al, 32
int 10h
mov al, 121
int 10h
mov al, 111
int 10h
mov al, 117
int 10h
mov al, 32
int 10h
mov al, 99
int 10h
mov al, 97
int 10h
mov al, 110
int 10h
mov al, 32
int 10h
mov al, 115
int 10h
mov al, 101
int 10h
mov al, 101
int 10h
mov al, 44
int 10h
mov al, 32
int 10h
mov al, 73
int 10h
mov al, 39
int 10h
mov al, 109
int 10h
mov al, 32
int 10h
mov al, 98
int 10h
mov al, 111
int 10h
mov al, 114
int 10h
mov al, 101
int 10h
mov al, 100
int 10h
mov al, 33
int 10h

jmp $

times 510-($-$$) db 0
dw 0xAA55

This took forever wtf
Send help

Btw this is real x86 Assembly, so if you compiled it with NASM and wrote it to the bootsector of a floppy disk, it would boot on a real computer
 
  • Like
Reactions: Megadriver94
If my guess, using my extremely rusty assembly knowledge, is correct you're printing 0.
But I'm a bit too lazy to try figuring out if it's an actual picture or something.
 
@Localhorst86 was right

It prints "Hi guys. As you can see, I'm bored!"

Of course, there's a much easier way to print text in asm, I just did it the hard way
 

Attachments

  • Screenshot from 2018-10-02 18-09-17.png
    Screenshot from 2018-10-02 18-09-17.png
    225.4 KB · Views: 210
  • Like
Reactions: Tizm

Site & Scene News

Popular threads in this forum