Micro #22
09 августа 1999
  Игры  

AD & D - Ragnata History (Part One).

<b>AD & D</b> - Ragnata History (Part One).
in assembly and in the native will be
have the form:

ASSEMBLER MACHINE CODE COMMENTARY
LD A, (30013) 30000 1958 Worth as a result
                          Giustra A number

             30,001 in 1961 contained in

             30002 117 30013 address.
LD B, A 30 003 71 Upload a solution
                          Giustra B contains
                          My Registry A
LD A, (30014) 30 004 1958 Download to re
                          Giustra A number

             30,005 in 1962 contained in

             30006 117 30014 address.
ADD A, B 30007 128 added to with
                          derzhimomu A with
                          derzhimoe registration
                          RA VI
LD (30015), A 30 008 50 Upload containing
             30 009 63 zhimoe register A

             30010 117 against 30,015.
NOP 30,011 0 No operation.
RET 30012 201 go back to
                          where this space
                          gram causing
                          las.


  Try this program to work. Let
Do you want to add two numbers, say 50 and
70. First, allocate memory for the program in machine code.

10 CLEAR 29999


  Now we introduce the program into memory,
starting at address 30000.

20 FOR i = 30000 TO 30012: READ q: POKE i, q:
NEXT i
1930 DATA 58, 61, 117, 71, 58, 62, 117, 128,
50, 63, 117, 0, 201


  Write in a cell 30013 and 30014 are the two
numbers that we wish to add:

40 POKE 30013, 50: POKE 30014, 70


  Enter the command to execute our program in machine code.

50 RANDOMIZE USR 30000


  And finally, we start our BASIC program - RUN.

  After a second run for it and
message appears, DC It seems to be
Nothing has changed, but if you check what is in the 30015 
cell, then make sure that there is a result of the addition, ie 
number 120. 

PRINT PEEK 30015 will give you: 120 OK


  Thus, we have already met with several
processor commands the Z-80. Now we have to stop this 
superpopular exposition, since the system of commands that the 
processor is quite extensive and in such an approach would take 
her about a thousand pages. We hope that the psychological

You have already overcome the barrier and then we proceed to a 
systematic and gradual Development of the instruction processor.


  You seem to understand that every team in the native has its 
own mnemonic assembler, in which several letters are encoded 
operation. K Unfortunately, the literature is usually written 
professionals for professionals and they do not bother with 
translation into Russian mnemonic language, especially that of 
the Z-80 books in Russian are almost no (there are several 
departmental transfers). Therefore, "Inforkom" in his "Handbook 
.." (Part 3) paid place a dictionary to translate the mnemonic 
assembler normal English, but through He and the Russian 
language. 

  In concluding this chapter, several general
comments. Different processors have different instruction sets. 
Knowledge of the instruction processor Z-80 does not mean that 
You will be able to understand the native other computers 
collected at other processors, but exactly what their

development will you dozens of times faster.

  Even for only one CPU Z-80
entity has not yet been standardized.
Many of the assembled program, for example,
EDITAS, ZEUS, GENS1 ... GENS3 and others have
deviations in the form of a record of mnemonics, but they
insignificant and always negotiated in
the accompanying instructions to the program.


Lyrics provided by Michael (MIHEICH)

                                10.07.1999

in assembly and in the native will be
have the form:

ASSEMBLER MACHINE CODE COMMENTARY
LD A, (30013) 30000 1958 Worth as a result
                          Giustra A number

             30,001 in 1961 contained in

             30002 117 30013 address.
LD B, A 30 003 71 Upload a solution
                          Giustra B contains
                          My Registry A
LD A, (30014) 30 004 1958 Download to re
                          Giustra A number

             30,005 in 1962 contained in

             30006 117 30014 address.
ADD A, B 30007 128 added to with
                          derzhimomu A with
                          derzhimoe registration
                          RA VI
LD (30015), A 30 008 50 Upload containing
             30 009 63 zhimoe register A

             30010 117 against 30,015.
NOP 30,011 0 No operation.
RET 30012 201 go back to
                          where this space
                          gram causing
                          las.


  Try this program to work. Let
Do you want to add two numbers, say 50 and
70. First, allocate memory for the program in machine code.

10 CLEAR 29999


  Now we introduce the program into memory,
starting at address 30000.

20 FOR i = 30000 TO 30012: READ q: POKE i, q:
NEXT i
1930 DATA 58, 61, 117, 71, 58, 62, 117, 128,
50, 63, 117, 0, 201


  Write in a cell 30013 and 30014 are the two
numbers that we wish to add:

40 POKE 30013, 50: POKE 30014, 70


  Enter the command to execute our program in machine code.

50 RANDOMIZE USR 30000


  And finally, we start our BASIC program - RUN.

  After a second run for it and
message appears, DC It seems to be
Nothing has changed, but if you check what is in the 30015 
cell, then make sure that there is a result of the addition, ie 
number 120. 

PRINT PEEK 30015 will give you: 120 OK


  Thus, we have already met with several
processor commands the Z-80. Now we have to stop this 
superpopular exposition, since the system of commands that the 
processor is quite extensive and in such an approach would take 
her about a thousand pages. We hope that the psychological

You have already overcome the barrier and then we proceed to a 
systematic and gradual Development of the instruction processor.


  You seem to understand that every team in the native has its 
own mnemonic assembler, in which several letters are encoded 
operation. K Unfortunately, the literature is usually written 
professionals for professionals and they do not bother with 
translation into Russian mnemonic language, especially that of 
the Z-80 books in Russian are almost no (there are several 
departmental transfers). Therefore, "Inforkom" in his "Handbook 
.." (Part 3) paid place a dictionary to translate the mnemonic 
assembler normal English, but through He and the Russian 
language. 

  In concluding this chapter, several general
comments. Different processors have different instruction sets. 
Knowledge of the instruction processor Z-80 does not mean that 
You will be able to understand the native other computers 
collected at other processors, but exactly what their

development will you dozens of times faster.

  Even for only one CPU Z-80
entity has not yet been standardized.
Many of the assembled program, for example,
EDITAS, ZEUS, GENS1 ... GENS3 and others have
deviations in the form of a record of mnemonics, but they
insignificant and always negotiated in
the accompanying instructions to the program.


Lyrics provided by Michael (MIHEICH)

                                10.07.1999





Other articles:

Foreword - a story about the gathering of fans of AD & D.

AD & D - Ragnata History (Part One).

AD & D - Ragnata History (part two).

AD & D - History Ragnata, magician Jason cleric and Shata (part three).

AD & D - Diary Bard Silver Rose.

AD & D - The history of the bard, the story of Conan: Diary of the Silver Rose.

AD & D - Songs. (Part One).

AD & D - Songs. (Part Two).

AD & D - Songs. (Part Three).


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:

В этот день...   28 April