Go4Expert

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-t8287/)

scw_0611 16Jan2008 18:04

Can't move f000h to ax
 
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.

scw_0611 16Jan2008 18:07

Re: Can't move f000h to ax
 
Did this thread get posted twice! Sorry about that

shabbir 16Jan2008 19:10

Re: Can't move f000h to ax
 
Quote:

Originally Posted by scw_0611
Did this thread get posted twice! Sorry about that

Here is the other one. Can't move f000h to ax. Thread closed.


All times are GMT +5.5. The time now is 18:19.