What happens when a programmer is bored

Discussion in 'The Edge of the Forum' started by ry755, Oct 2, 2018.

  1. ry755
    OP

    ry755 Fox

    Member
    5
    Nov 29, 2017
    United States
    California
    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
     
    Megadriver94 likes this.
  2. grey72

    grey72 GBAtemp Regular

    Member
    4
    Jul 5, 2018
    Antarctica
    About Here-ish
    >assembly
    You're really bored
     
  3. ry755
    OP

    ry755 Fox

    Member
    5
    Nov 29, 2017
    United States
    California
    Yep. Can you figure out what it's supposed to do?
     
  4. grey72

    grey72 GBAtemp Regular

    Member
    4
    Jul 5, 2018
    Antarctica
    About Here-ish
    Noooope
    Can barely read C code
     
  5. Reiten

    Reiten Advanced Member

    Newcomer
    4
    Feb 28, 2014
    Germany
    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.
     
  6. Localhorst86

    Localhorst86 GBAtemp Addict

    Member
    10
    Jul 17, 2014
    Germany
    Nintendo works for my dad
    I don't really know how to code anything, but I am fairly certain it simply

    NO U!
     
  7. Subtle Demise

    Subtle Demise h

    Member
    10
    Sep 17, 2009
    United States
    Assembly, for when you want to build something at the atomic level.
     
    Megadriver94, ry755 and AmandaRose like this.
  8. Megadriver94

    Megadriver94 GBAtemp Regular

    Member
    4
    Aug 11, 2017
    United States
    Earth
    When a programmer is bored they can end up hacking websites they hate for the lulz, or make prank emails.
     
    Subtle Demise likes this.
  9. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    12
    Feb 26, 2017
    United States
    Hollister, CA
    We don't live in movies
     
    ry755 likes this.
  10. ry755
    OP

    ry755 Fox

    Member
    5
    Nov 29, 2017
    United States
    California
    @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
     

    Attached Files:

    NutymcNuty likes this.
  11. Noctosphere

    Noctosphere Adoptive father of my kitty named Zelda

    Banned
    13
    GBAtemp Patron
    Noctosphere is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 30, 2013
    Canada
    Back with kitty Zelda forever :D
    it is a movie
    God is watching us
     
    NutymcNuty likes this.
  12. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    12
    Feb 26, 2017
    United States
    Hollister, CA
    No it isn't
     
  13. Noctosphere

    Noctosphere Adoptive father of my kitty named Zelda

    Banned
    13
    GBAtemp Patron
    Noctosphere is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 30, 2013
    Canada
    Back with kitty Zelda forever :D
    [Troll]Yes it is, you clearly don't know what you're talkign about[/Troll]
     
  14. ry755
    OP

    ry755 Fox

    Member
    5
    Nov 29, 2017
    United States
    California
    Depends on your beliefs
     
  15. Noctosphere

    Noctosphere Adoptive father of my kitty named Zelda

    Banned
    13
    GBAtemp Patron
    Noctosphere is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 30, 2013
    Canada
    Back with kitty Zelda forever :D
    haha right
    well personally, I don't believe in God
    I'm more into spiritism
     
  16. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    12
    Feb 26, 2017
    United States
    Hollister, CA
    You do know that spiritism still has a God, right?
     
    NutymcNuty and ry755 like this.
  17. NutymcNuty

    NutymcNuty Don't drink too much!

    Member
    5
    Mar 24, 2015
    Canada
    Ottawa, Ontario
    When you wreck a libtArd epic style
     
Loading...