SlideShare a Scribd company logo
1 of 1
/*===================================================================================
EJERCICIO: PASAR 10 DATOS DE UNA TABLA QUE SE ENCUENTRA EN LA FLASH (MEMORIA PROGRAMA)
A UNA DIRECCION DE LA SRAM QUE VAYA DE LA DIRECCION 0X0110 A LA 0X0100
=====================================================================================*/

.include "m164pdef.inc"
.DEF Rd=R0

;DIRECTIVA PARA INICIAR
;DEFINE UN NOMBRE SIMBOLICO A UN REGISTRO

START:

;ES UNA INSTRUCION DE LAZO

LDI
LDI
ldi
ldi

;PARA INICIALIZAR LOS PUNTEROS ZH Y ZL

ZL,LOW(ETIQUETA<<1)
ZH,HIGH(ETIQUETA<<1)
xl,0X10
xh,0X01

LAZO:
LPM Rd,Z+

;DIRECCION DE LOS PUNTEROS PARA INICIAR EN LA MEMORIA RAM
;EN LA DIRECCION 0X0110
;INSTRUCCION DE LAZO PARA LEER LOS

DATOS

;CARGA LOS DATOS DE LA FLASH A LOS RPG
st -x,Rd
;CARGA LOS DATOS DEL RPG A LA SRAM
;(LA DIRECCION DESTINO ESTA DADA POR EL PUNTERO X CON PRE DECREMENTO)
RJMP LAZO
ETIQUETA:
.DB 0XA3,0XF4
.DB 0XB3,0X14
.DB 0XC3,0X24
.DB 0XD3,0X34
.DB 0XE3,0X44
RJMP START

;ETIQUETA DONDE ESTAN LOS VALORES EN LA FLASH

More Related Content

Viewers also liked

Estrategia de Internacionalización en ASTURFEITO
Estrategia de Internacionalización en ASTURFEITOEstrategia de Internacionalización en ASTURFEITO
Estrategia de Internacionalización en ASTURFEITOClub Asturiano de Calidad
 
Facebook. Perché investire in pubblicità in estate?
Facebook. Perché investire in pubblicità in estate?Facebook. Perché investire in pubblicità in estate?
Facebook. Perché investire in pubblicità in estate?Register.it
 
Artículo en Avaibook Dec 2016
Artículo en Avaibook Dec 2016Artículo en Avaibook Dec 2016
Artículo en Avaibook Dec 2016David Delgado
 
Partnervermittlung schweiz; sind sie bereit sich in die dating welt zu sturzen
Partnervermittlung schweiz; sind sie bereit sich in die dating welt zu sturzenPartnervermittlung schweiz; sind sie bereit sich in die dating welt zu sturzen
Partnervermittlung schweiz; sind sie bereit sich in die dating welt zu sturzenHIM-Matchmaking
 
High Level model answers 1-10
High Level model answers 1-10High Level model answers 1-10
High Level model answers 1-10Naamah Hill
 
Productos katadyn
Productos katadynProductos katadyn
Productos katadynFerreHogar
 
Abre el Ojo Nº6
Abre el Ojo Nº6Abre el Ojo Nº6
Abre el Ojo Nº6Ied Madrid
 
Criando Processos de Negócio com Sucesso (MELHORAR) - Michael Rosemann
Criando Processos de Negócio com Sucesso (MELHORAR) - Michael RosemannCriando Processos de Negócio com Sucesso (MELHORAR) - Michael Rosemann
Criando Processos de Negócio com Sucesso (MELHORAR) - Michael RosemannEloGroup
 
Manual autocad architecture 2009
Manual autocad architecture 2009Manual autocad architecture 2009
Manual autocad architecture 2009gluiss
 
Notas Negras 3 - Blues en su Tinta
Notas Negras 3 - Blues en su TintaNotas Negras 3 - Blues en su Tinta
Notas Negras 3 - Blues en su TintaEscuela de Blues
 
Obj 7.4 capa 3 - red - router
Obj 7.4   capa 3 - red - router Obj 7.4   capa 3 - red - router
Obj 7.4 capa 3 - red - router Pedro Sánchez
 

Viewers also liked (19)

Seleccionados fondos-concursables
Seleccionados fondos-concursablesSeleccionados fondos-concursables
Seleccionados fondos-concursables
 
Estrategia de Internacionalización en ASTURFEITO
Estrategia de Internacionalización en ASTURFEITOEstrategia de Internacionalización en ASTURFEITO
Estrategia de Internacionalización en ASTURFEITO
 
BLONGS Y RESPONSABILIDAD SOCIAL
BLONGS Y RESPONSABILIDAD SOCIALBLONGS Y RESPONSABILIDAD SOCIAL
BLONGS Y RESPONSABILIDAD SOCIAL
 
Facebook. Perché investire in pubblicità in estate?
Facebook. Perché investire in pubblicità in estate?Facebook. Perché investire in pubblicità in estate?
Facebook. Perché investire in pubblicità in estate?
 
Artículo en Avaibook Dec 2016
Artículo en Avaibook Dec 2016Artículo en Avaibook Dec 2016
Artículo en Avaibook Dec 2016
 
DXN INTERNACIONAL
DXN INTERNACIONALDXN INTERNACIONAL
DXN INTERNACIONAL
 
Partnervermittlung schweiz; sind sie bereit sich in die dating welt zu sturzen
Partnervermittlung schweiz; sind sie bereit sich in die dating welt zu sturzenPartnervermittlung schweiz; sind sie bereit sich in die dating welt zu sturzen
Partnervermittlung schweiz; sind sie bereit sich in die dating welt zu sturzen
 
High Level model answers 1-10
High Level model answers 1-10High Level model answers 1-10
High Level model answers 1-10
 
Prime Fire Dominicana
Prime Fire DominicanaPrime Fire Dominicana
Prime Fire Dominicana
 
Monografico Protectia por el mundo
Monografico Protectia por el mundoMonografico Protectia por el mundo
Monografico Protectia por el mundo
 
La comunidad cuenta su historia
La comunidad cuenta su historiaLa comunidad cuenta su historia
La comunidad cuenta su historia
 
Productos katadyn
Productos katadynProductos katadyn
Productos katadyn
 
Coca-Cola Zero - Hazlo Posible
Coca-Cola Zero - Hazlo PosibleCoca-Cola Zero - Hazlo Posible
Coca-Cola Zero - Hazlo Posible
 
Abre el Ojo Nº6
Abre el Ojo Nº6Abre el Ojo Nº6
Abre el Ojo Nº6
 
Criando Processos de Negócio com Sucesso (MELHORAR) - Michael Rosemann
Criando Processos de Negócio com Sucesso (MELHORAR) - Michael RosemannCriando Processos de Negócio com Sucesso (MELHORAR) - Michael Rosemann
Criando Processos de Negócio com Sucesso (MELHORAR) - Michael Rosemann
 
Manual autocad architecture 2009
Manual autocad architecture 2009Manual autocad architecture 2009
Manual autocad architecture 2009
 
Notas Negras 3 - Blues en su Tinta
Notas Negras 3 - Blues en su TintaNotas Negras 3 - Blues en su Tinta
Notas Negras 3 - Blues en su Tinta
 
Plan de Empleo: Mengíbar
Plan de Empleo: MengíbarPlan de Empleo: Mengíbar
Plan de Empleo: Mengíbar
 
Obj 7.4 capa 3 - red - router
Obj 7.4   capa 3 - red - router Obj 7.4   capa 3 - red - router
Obj 7.4 capa 3 - red - router
 

Recently uploaded

Formation échiquéenne jwhyCHESS, parallèle avec la planification de projet
Formation échiquéenne jwhyCHESS, parallèle avec la planification de projetFormation échiquéenne jwhyCHESS, parallèle avec la planification de projet
Formation échiquéenne jwhyCHESS, parallèle avec la planification de projetJeanYvesMoine
 
Sidonie au Japon . pptx Un film français
Sidonie    au   Japon  .  pptx  Un film françaisSidonie    au   Japon  .  pptx  Un film français
Sidonie au Japon . pptx Un film françaisTxaruka
 
Conférence Sommet de la formation 2024 : Développer des compétences pour la m...
Conférence Sommet de la formation 2024 : Développer des compétences pour la m...Conférence Sommet de la formation 2024 : Développer des compétences pour la m...
Conférence Sommet de la formation 2024 : Développer des compétences pour la m...Technologia Formation
 
Cours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdfCours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdfachrafbrahimi1
 
Formation qhse - GIASE saqit_105135.pptx
Formation qhse - GIASE saqit_105135.pptxFormation qhse - GIASE saqit_105135.pptx
Formation qhse - GIASE saqit_105135.pptxrajaakiass01
 
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdfCOURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdfabatanebureau
 
Bilan énergétique des chambres froides.pdf
Bilan énergétique des chambres froides.pdfBilan énergétique des chambres froides.pdf
Bilan énergétique des chambres froides.pdfAmgdoulHatim
 
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...Faga1939
 
Boléro. pptx Film français réalisé par une femme.
Boléro.  pptx   Film   français   réalisé  par une  femme.Boléro.  pptx   Film   français   réalisé  par une  femme.
Boléro. pptx Film français réalisé par une femme.Txaruka
 
Les roches magmatique géodynamique interne.pptx
Les roches magmatique géodynamique interne.pptxLes roches magmatique géodynamique interne.pptx
Les roches magmatique géodynamique interne.pptxShinyaHilalYamanaka
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...Nguyen Thanh Tu Collection
 
Cours Préparation à l’ISO 27001 version 2022.pdf
Cours Préparation à l’ISO 27001 version 2022.pdfCours Préparation à l’ISO 27001 version 2022.pdf
Cours Préparation à l’ISO 27001 version 2022.pdfssuserc72852
 
Apolonia, Apolonia.pptx Film documentaire
Apolonia, Apolonia.pptx         Film documentaireApolonia, Apolonia.pptx         Film documentaire
Apolonia, Apolonia.pptx Film documentaireTxaruka
 
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptx
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptxCopie de Engineering Software Marketing Plan by Slidesgo.pptx.pptx
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptxikospam0
 
La nouvelle femme . pptx Film français
La   nouvelle   femme  . pptx  Film françaisLa   nouvelle   femme  . pptx  Film français
La nouvelle femme . pptx Film françaisTxaruka
 
Computer Parts in French - Les parties de l'ordinateur.pptx
Computer Parts in French - Les parties de l'ordinateur.pptxComputer Parts in French - Les parties de l'ordinateur.pptx
Computer Parts in French - Les parties de l'ordinateur.pptxRayane619450
 
L application de la physique classique dans le golf.pptx
L application de la physique classique dans le golf.pptxL application de la physique classique dans le golf.pptx
L application de la physique classique dans le golf.pptxhamzagame
 
Chapitre 2 du cours de JavaScript. Bon Cours
Chapitre 2 du cours de JavaScript. Bon CoursChapitre 2 du cours de JavaScript. Bon Cours
Chapitre 2 du cours de JavaScript. Bon Coursebenezerngoran
 

Recently uploaded (18)

Formation échiquéenne jwhyCHESS, parallèle avec la planification de projet
Formation échiquéenne jwhyCHESS, parallèle avec la planification de projetFormation échiquéenne jwhyCHESS, parallèle avec la planification de projet
Formation échiquéenne jwhyCHESS, parallèle avec la planification de projet
 
Sidonie au Japon . pptx Un film français
Sidonie    au   Japon  .  pptx  Un film françaisSidonie    au   Japon  .  pptx  Un film français
Sidonie au Japon . pptx Un film français
 
Conférence Sommet de la formation 2024 : Développer des compétences pour la m...
Conférence Sommet de la formation 2024 : Développer des compétences pour la m...Conférence Sommet de la formation 2024 : Développer des compétences pour la m...
Conférence Sommet de la formation 2024 : Développer des compétences pour la m...
 
Cours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdfCours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdf
 
Formation qhse - GIASE saqit_105135.pptx
Formation qhse - GIASE saqit_105135.pptxFormation qhse - GIASE saqit_105135.pptx
Formation qhse - GIASE saqit_105135.pptx
 
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdfCOURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
 
Bilan énergétique des chambres froides.pdf
Bilan énergétique des chambres froides.pdfBilan énergétique des chambres froides.pdf
Bilan énergétique des chambres froides.pdf
 
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...
 
Boléro. pptx Film français réalisé par une femme.
Boléro.  pptx   Film   français   réalisé  par une  femme.Boléro.  pptx   Film   français   réalisé  par une  femme.
Boléro. pptx Film français réalisé par une femme.
 
Les roches magmatique géodynamique interne.pptx
Les roches magmatique géodynamique interne.pptxLes roches magmatique géodynamique interne.pptx
Les roches magmatique géodynamique interne.pptx
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...
 
Cours Préparation à l’ISO 27001 version 2022.pdf
Cours Préparation à l’ISO 27001 version 2022.pdfCours Préparation à l’ISO 27001 version 2022.pdf
Cours Préparation à l’ISO 27001 version 2022.pdf
 
Apolonia, Apolonia.pptx Film documentaire
Apolonia, Apolonia.pptx         Film documentaireApolonia, Apolonia.pptx         Film documentaire
Apolonia, Apolonia.pptx Film documentaire
 
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptx
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptxCopie de Engineering Software Marketing Plan by Slidesgo.pptx.pptx
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptx
 
La nouvelle femme . pptx Film français
La   nouvelle   femme  . pptx  Film françaisLa   nouvelle   femme  . pptx  Film français
La nouvelle femme . pptx Film français
 
Computer Parts in French - Les parties de l'ordinateur.pptx
Computer Parts in French - Les parties de l'ordinateur.pptxComputer Parts in French - Les parties de l'ordinateur.pptx
Computer Parts in French - Les parties de l'ordinateur.pptx
 
L application de la physique classique dans le golf.pptx
L application de la physique classique dans le golf.pptxL application de la physique classique dans le golf.pptx
L application de la physique classique dans le golf.pptx
 
Chapitre 2 du cours de JavaScript. Bon Cours
Chapitre 2 du cours de JavaScript. Bon CoursChapitre 2 du cours de JavaScript. Bon Cours
Chapitre 2 du cours de JavaScript. Bon Cours
 

Taller 3 Mover Tabla de Memoria Flash a SRAM

  • 1. /*=================================================================================== EJERCICIO: PASAR 10 DATOS DE UNA TABLA QUE SE ENCUENTRA EN LA FLASH (MEMORIA PROGRAMA) A UNA DIRECCION DE LA SRAM QUE VAYA DE LA DIRECCION 0X0110 A LA 0X0100 =====================================================================================*/ .include "m164pdef.inc" .DEF Rd=R0 ;DIRECTIVA PARA INICIAR ;DEFINE UN NOMBRE SIMBOLICO A UN REGISTRO START: ;ES UNA INSTRUCION DE LAZO LDI LDI ldi ldi ;PARA INICIALIZAR LOS PUNTEROS ZH Y ZL ZL,LOW(ETIQUETA<<1) ZH,HIGH(ETIQUETA<<1) xl,0X10 xh,0X01 LAZO: LPM Rd,Z+ ;DIRECCION DE LOS PUNTEROS PARA INICIAR EN LA MEMORIA RAM ;EN LA DIRECCION 0X0110 ;INSTRUCCION DE LAZO PARA LEER LOS DATOS ;CARGA LOS DATOS DE LA FLASH A LOS RPG st -x,Rd ;CARGA LOS DATOS DEL RPG A LA SRAM ;(LA DIRECCION DESTINO ESTA DADA POR EL PUNTERO X CON PRE DECREMENTO) RJMP LAZO ETIQUETA: .DB 0XA3,0XF4 .DB 0XB3,0X14 .DB 0XC3,0X24 .DB 0XD3,0X34 .DB 0XE3,0X44 RJMP START ;ETIQUETA DONDE ESTAN LOS VALORES EN LA FLASH