Can't move f000h to ax

Discussion in 'Assembly Language Programming (ALP) Forum' started by scw_0611, Jan 16, 2008.

  1. scw_0611

    scw_0611 New Member

    Joined:
    Nov 4, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    I have been trying to compile this program using tasm

    .model tiny
    .data

    .code
    mov ax,f000h

    end

    And I get this error

    E:\zzzz1\lab>tasm test3.asm
    Turbo Assembler Version 3.1 Copyright (c) 1988, 1992 Borland International

    Assembling file: test3.asm
    **Error** test3.asm(5) Undefined symbol: F000H
    Error messages: 1
    Warning messages: None
    Passes: 1
    Remaining memory: 459k




    And another question is how do I halt the processor
    I tried "hlt", but when the code runs it pops up a dialog which says illegal instruction.
     
  2. scw_0611

    scw_0611 New Member

    Joined:
    Nov 4, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Got the answer. It should be 0F000H and not F000H
     

Share This Page

  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