Can't move f000h to ax

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

Thread Status:
Not open for further replies.
  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
    Did this thread get posted twice! Sorry about that
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Here is the other one. Can't move f000h to ax. Thread closed.
     
Thread Status:
Not open for further replies.

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