13.05.2014 Views

Manual de Hardware - Panasonic Electric Works

Manual de Hardware - Panasonic Electric Works

Manual de Hardware - Panasonic Electric Works

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tabla <strong>de</strong> Instrucciones Matsushita<br />

FP2<br />

G.2 Tabla <strong>de</strong> Instrucciones <strong>de</strong> Alto Nivel<br />

Número Nombre Booleano Operand Descripción Pasos<br />

F83<br />

P83<br />

Conversión <strong>de</strong><br />

BCD a binario<br />

(32 bits)<br />

DBIN<br />

PDBIN<br />

S, D Convierte el dato BCD (8 dígitos) especificado en<br />

(S+1, S) a binario (32 bit) y lo guarda en<br />

(D+1, D).<br />

7<br />

F84<br />

P84<br />

Complemento a<br />

1<strong>de</strong>datos<strong>de</strong><br />

16 bits<br />

INV<br />

PINV<br />

D Invierte cada bit <strong>de</strong>l dato D. 3<br />

F85<br />

P85<br />

Complemento a<br />

2<strong>de</strong>datos<strong>de</strong><br />

16 bits<br />

NEG<br />

PNEG<br />

D<br />

Invierte cada bit <strong>de</strong>l dato D y le suma 1 (inversión<br />

<strong>de</strong> signo).<br />

3<br />

F86<br />

P86<br />

Complemento a<br />

2<strong>de</strong>datos<strong>de</strong><br />

32 bits<br />

DNEG<br />

PDNEG<br />

D Invierte cada bit <strong>de</strong>l dato (D+1, D) y le suma 1<br />

(inversión <strong>de</strong> signo).<br />

3<br />

F87<br />

P87<br />

Valor absoluto.<br />

Datos16bits<br />

ABS<br />

PABS<br />

D<br />

Calcula el valor absoluto <strong>de</strong>l dato almacenado en<br />

D.<br />

3<br />

F88<br />

P88<br />

Valor absoluto.<br />

Datos32bits<br />

DABS<br />

PDABS<br />

D<br />

Calcula el valor absoluto <strong>de</strong>l dato almacenado en<br />

(D+1, D).<br />

3<br />

F89<br />

P89<br />

Extensión <strong>de</strong><br />

código.<br />

EXT<br />

PEXT<br />

D<br />

Combierte el dato <strong>de</strong> 16 bits almacenado en D a<br />

32 bits y lo almacena en (D+1, D).<br />

3<br />

F90<br />

P90<br />

Decodificación<br />

DECO<br />

PDECO<br />

S, n, D Decodifica la parte <strong>de</strong>l dato (S), especificada por<br />

(n), y el resultado se almacena en D.<br />

7<br />

F91<br />

P91<br />

Decodificación<br />

a 7 segmentos<br />

SEGT<br />

PSEGT<br />

S, D Convierte el dato S para emplearlo en un display<br />

<strong>de</strong> 7 segmentos y lo almacena en (D+1, D).<br />

5<br />

F92<br />

P92<br />

Codificación<br />

ENCO<br />

PENCO<br />

S, n, D Codifica la parte <strong>de</strong>l dato (D), especificada por n,<br />

y el resultado se almacena en D.<br />

7<br />

F93<br />

P93<br />

Combinación.<br />

Datos16bits<br />

UNIT<br />

PUNIT<br />

S, n, D Se guarda en D y en or<strong>de</strong>n el dígito <strong>de</strong> menor<br />

peso <strong>de</strong> cada una <strong>de</strong> las palabras <strong>de</strong>l área<br />

especificada por S y n.<br />

7<br />

F94<br />

P94<br />

Distribución.<br />

Datos16bits<br />

DIST<br />

PDIST<br />

S, n, D Se distribuyen n dígitos <strong>de</strong> S y se guarda cada<br />

dato distribuido en los 4 bits <strong>de</strong> menor peso <strong>de</strong>l<br />

registro especificado por D a D+n -1.<br />

7<br />

F95<br />

P95<br />

Conversión <strong>de</strong><br />

caracteres a<br />

código ASCII<br />

ASC<br />

PASC<br />

S, D Se convierte una contanste <strong>de</strong> 12 caracteres<br />

como máximo, especificada por S a código<br />

ASCII. Se almacena <strong>de</strong>s<strong>de</strong> D hasta D+5.<br />

15<br />

F96<br />

P96<br />

Búsqueda <strong>de</strong><br />

datos<strong>de</strong>16bits<br />

en tablas.<br />

SRC<br />

PSRC<br />

S1, S2,<br />

S3<br />

BuscaeldatoS1<strong>de</strong>16bitsenlatabla<strong>de</strong>finida<br />

por S2 y S3. Los resultados se almacenan en<br />

DT90037 y DT90038.<br />

7<br />

F97<br />

P97<br />

Búsqueda <strong>de</strong><br />

datos<strong>de</strong>32bits<br />

en tablas.<br />

DSRC<br />

PDSRC<br />

S1, S2,<br />

S3, S4<br />

Busca el dato (S1+1, S1) <strong>de</strong> 32 bits en la tabla<br />

<strong>de</strong>finida por S2 y S3. Los resultados se<br />

almacenan en DT90037 y DT90038.<br />

11<br />

G -- 16<br />

Matsushita <strong>Electric</strong> <strong>Works</strong> (Europe) AG

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!