|
|
| version 1.1, 2006/01/19 17:16:29 | version 1.2, 2006/02/15 13:00:30 |
|---|---|
| Line 1 | Line 1 |
| /********************************************************************/ | |
| /* Desensambladorx86IA16.c */ | |
| /* */ | |
| /* Copyright (c) 1997-2006 Rafael Rico (rafael.rico@uah.es) */ | |
| /* */ | |
| /* This file is part of ADD version 5.10. */ | |
| /* */ | |
| /* ADD is free software; you can redistribute it and/or modify */ | |
| /* it under the terms of the GNU General Public License as */ | |
| /* published by the Free Software Foundation; either version 2 of */ | |
| /* the License, or (at your option) any later version. */ | |
| /* */ | |
| /* ADD is distributed in the hope that it will be useful, */ | |
| /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | |
| /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | |
| /* GNU General Public License for more details. */ | |
| /* */ | |
| /* You should have received a copy of the GNU General Public */ | |
| /* License along with ADD; if not, write to the Free Software */ | |
| /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA */ | |
| /* 02111-1307 USA */ | |
| /* */ | |
| /* --------------------------- History --------------------------- */ | |
| /* */ | |
| /* Revision 1.2. 01/2006 */ | |
| /* Added GPL License and JavaDoc style documentation */ | |
| /* */ | |
| /* Revision 1.1. 09/2005 */ | |
| /* Initial Revision */ | |
| /* */ | |
| /********************************************************************/ | |
| /******************************************************************************/ | /******************************************************************************/ |
| /* MÓDULO: DesensambladorX86IA16.c */ | /* MÓDULO: DesensambladorX86IA16.c */ |
| /* */ | /* */ |
| Line 867 void DecodificarInstruccion086(unsigned | Line 834 void DecodificarInstruccion086(unsigned |
| switch(byte1.campo.d) /* ahora se llama 'v' en lugar de 'd' pero es el mismo */ | switch(byte1.campo.d) /* ahora se llama 'v' en lugar de 'd' pero es el mismo */ |
| { | { |
| case 0: | case 0: |
| sprintf(op2, "01"); /* todos los inmediatos deben tener 2 dígitos hex por byte */ | sprintf(op2, "01"); /* todos los inmediatos deben tener 2 dígitos hex por byte */ |
| break; | break; |
| case 1: | case 1: |