Microprocessor Simulator 0 Help


MOV BL,40 This line initialises BL to 40. Rep



Download 1.18 Mb.
Page41/82
Date18.03.2021
Size1.18 Mb.
#56105
1   ...   37   38   39   40   41   42   43   44   ...   82
sms32v50 (3)
sms32v50 (3), sms32v50 (6)

MOV BL,40


This line initialises BL to 40.

Rep:


Rep: is a label. Labels are used with Jump commands. It is possible for programs to jump backwards or forwards. Because of the way numbers are stored, the largest jumps are -128 backwards and + 127 forwards. Labels must begin with a letter or the _ character. Labels may contain letters, digits and the _ character. Destination labels must end with a Colon:

INC BL


This command adds one to BL. Watch the BL register. It will count up from 40 in hexadecimal so after 49 comes 4A, 4B, 4C, 4D, 4E, 4F, 50, 51 and so on.

Download 1.18 Mb.

Share with your friends:
1   ...   37   38   39   40   41   42   43   44   ...   82




The database is protected by copyright ©ininet.org 2024
send message

    Main page