Article View: chile.comp.programacion
Article #3891ayuda nuevamente con codigo
From: Rick_oj
Date: Wed, 30 Jun 2004 23:21
Date: Wed, 30 Jun 2004 23:21
20 lines
1204 bytes
1204 bytes
alguien le pillara el error a esto?
#include <stdio.h>
#include <conio.h>
typedef unsigned short WORD
main()
{
WORD base;
asm
{
mov ax, 0040h
mov es, ax
mov ax, es:[si]
mov base, ax;
}
printf ("La direccion es %d",base);
getch();
}
me reclama por word si no la defino y si lo dejo asi, me reclama por
direccion erronea
Technical Details
Message-ID:
<cbvhpo$us7$1@news1.nivel5.cl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,ad936f922b757420,start X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail From: "Rick_oj" <rick_oj@servidor.red> Newsgroups: chile.comp.programacion Subject: ayuda nuevamente con codigo Date: Wed, 30 Jun 2004 19:21:42 -0400 Organization: Varios Lines: 22 Message-ID: <cbvhpo$us7$1@news1.nivel5.cl> NNTP-Posting-Host: cm-vina4-156-162.cm.vtr.net X-Trace: news1.nivel5.cl 1088637560 31623 200.104.156.162 (30 Jun 2004 23:19:20 GMT) X-Complaints-To: news@news1.nivel5.cl NNTP-Posting-Date: Wed, 30 Jun 2004 23:19:20 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106