TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: VIKTOR OSADCHUK
from: JERRY COFFIN
date: 1997-08-04 23:01:00
subject: Reset

On (30 Jul 97) Viktor Osadchuk wrote to Rajesh Dhawan...
 VO>             mov di,0472h
 VO>             mov es:di,ax   /* Error: Memory reference expected */
This needs to be:
    mov [es:di], ax
instead.  As-is, it makes no real sense.  Overriding a segment only
makes sense when you're referring to memory, but without the brackets di
is simply a register; you need to refer to the memory whose address is
in di.
    Later,
    Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.