Posted on Leave a comment

At89s52 assembler

 

asm file for at89s52, Xtal 12Mhz:

org 00h
   MOV P1,#00H
   MOV P3,00H
   MOV P2,#00H
org 09H
   CPL 90H
   ACALL 13H
   CPL 90h
   ACALL 13H
   SJMP 08h
org 13h
   MOV R3,#021H
org 15h
   MOV R2,#0FFH
org 17h
   MOV R1,#70H
org 19h
   DJNZ R1,19h
   DJNZ R2, 17h
   DJNZ R3, 15h
   RETend

 

How to move website:

To save or move a website, need only to export database of the old website from host and download folder public_html of the old website, store in anywhere.

 For example to move a domain, host nearly expired to new:

1/Create new MySQL database and database user in  new host, add the new website to host then pointing website to database by edit wp-options in PhpMyAdmin, not install WordPress.

2/Upload folder public_html.zip to /files/ of new website, then extract to folder public_html, should delete files, folder sample.

3/Connect new website to new database by retype DB_user, DB_name, DB_pw in file public_html/wp-config.php. Login wp-admin by the old user, pw to post.