Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   Can't move f000h to ax (http://www.go4expert.com/forums/f000h-ax-t8286/)

scw_0611 16Jan2008 17:54

Can't move f000h to ax
I have been trying to compile this program using tasm

.model tiny

mov ax,f000h


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.

scw_0611 16Jan2008 23:52

Re: Can't move f000h to ax
Got the answer. It should be 0F000H and not F000H

All times are GMT +5.5. The time now is 09:00.