1. ry755

    OP ry755 GBAtemp Advanced Fan
    Member

    Joined:
    Nov 29, 2017
    Messages:
    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
     
    Megadriver94 likes this.
  2. grey72

    grey72 GBAtemp Regular
    Member

    Joined:
    Jul 5, 2018
    Messages:
    253
    Country:
    Antarctica
    >assembly
    You're really bored
     
  3. ry755

    OP ry755 GBAtemp Advanced Fan
    Member

    Joined:
    Nov 29, 2017
    Messages:
    535
    Country:
    United States
    Yep. Can you figure out what it's supposed to do?
     
  4. grey72

    grey72 GBAtemp Regular
    Member

    Joined:
    Jul 5, 2018
    Messages:
    253
    Country:
    Antarctica
    Noooope
    Can barely read C code
     
  5. Reiten

    Reiten Advanced Member
    Newcomer

    Joined:
    Feb 28, 2014
    Messages:
    68
    Country:
    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 Robert'); DROP TABLE members;--
    Member

    Joined:
    Jul 17, 2014
    Messages:
    2,458
    Country:
    Germany
    I don't really know how to code anything, but I am fairly certain it simply

    prints the output: "i am guys. As you can see, I'm bored!"
     
  7. Subtle Demise

    Member

    Joined:
    Sep 17, 2009
    Messages:
    2,380
    Country:
    United States
    Assembly, for when you want to build something at the atomic level.
     
    Megadriver94, ry755 and AmandaRose like this.
  8. Megadriver94

    Megadriver94 GBAtemp Fan
    Member

    Joined:
    Aug 11, 2017
    Messages:
    414
    Country:
    United States
    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 The Skiddo
    Member

    Joined:
    Feb 26, 2017
    Messages:
    3,784
    Country:
    United States
    We don't live in movies
     
    ry755 likes this.
  10. ry755

    OP ry755 GBAtemp Advanced Fan
    Member

    Joined:
    Nov 29, 2017
    Messages:
    535
    Country:
    United States
    @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 Zelda
    Member

    Joined:
    Dec 30, 2013
    Messages:
    5,246
    Country:
    Canada
    it is a movie
    God is watching us
     
    NutymcNuty likes this.
  12. Dionicio3

    Dionicio3 The Skiddo
    Member

    Joined:
    Feb 26, 2017
    Messages:
    3,784
    Country:
    United States
    No it isn't
     
  13. Noctosphere

    Noctosphere Adoptive father of Zelda
    Member

    Joined:
    Dec 30, 2013
    Messages:
    5,246
    Country:
    Canada
    [Troll]Yes it is, you clearly don't know what you're talkign about[/Troll]
     
  14. ry755

    OP ry755 GBAtemp Advanced Fan
    Member

    Joined:
    Nov 29, 2017
    Messages:
    535
    Country:
    United States
    Depends on your beliefs
     
  15. Noctosphere

    Noctosphere Adoptive father of Zelda
    Member

    Joined:
    Dec 30, 2013
    Messages:
    5,246
    Country:
    Canada
    haha right
    well personally, I don't believe in God
    I'm more into spiritism
     
  16. Dionicio3

    Dionicio3 The Skiddo
    Member

    Joined:
    Feb 26, 2017
    Messages:
    3,784
    Country:
    United States
    You do know that spiritism still has a God, right?
     
    NutymcNuty and ry755 like this.
  17. NutymcNuty

    NutymcNuty Don't drink too much!
    Member

    Joined:
    Mar 24, 2015
    Messages:
    501
    Country:
    Canada
    When you wreck a libtArd epic style
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - programmer, happens, bored