1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Problem with my x86 Assembly code ... any one here knows enough to help, possibly?

Discussion in 'Software Development' started by Baltio_Orange, Feb 21, 2013.

Thread Status:
Not open for further replies.
  1. Baltio_Orange

    Baltio_Orange Banned Thread Starter

    Joined:
    Feb 11, 2013
    Messages:
    4
    No errors given at assembling time; just won't boot on computer startup.

    I burned this to a CD-disc as a .bin file, and if you're familiar with low-level programming, specifically Assembly, you should realize this. This code, however, won't work. Any reasons why?

    Code:
    BITS 16
    ORG 0x0007C00
    JMP 0x0007C00
    MOV AL, 03h
    TEST AL, AL
    JNE 0X0007CFF
    SUB ESP[-20]
    MOV AL, BL
    MOV EAX, 0x000FF
    MOV SI, 0
    MOV BL, [EBX]
    MOV AL, EAX
    MOV AL, ESP
    CMP AL, BL
    JE DRAW
    DRAW:
    MOV SI, STRING
    MOV BL, STRING2
    INT 10h
    STRING db 'O', 0
    STRING2 db 'Y', 0
    times 512-($-$$) mb 0
    dw 0xAAFF
    
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - Problem Assembly code
  1. mohittomar13
    Replies:
    7
    Views:
    425
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1090492

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice