Aspect #09
21 мая 1998 |
|
Programming - Print string to 42 characters.
Hello, readers ASPECT'a! This routine will be helpful to those who manufactures computer magazines, newspapers, Who makes the text editors and viewers by Speck. Just want to say - better to learn to catch the fish rather than practicing eating. The method of printing a string, which is shown below, allows novice programmers - the encoder (and codes, because almost all of the best programs are written!), to better understand how to Use teams shift. Programming in the codes somewhere else, on whatever machine you will win by Compared with those who wrote their programs high-level languages: BASIC, PASCAL, ALGOL 68, PL1, FORTRAN, etc. Many people confuse what to write large program in assembly language is difficult. Yes - difficult. At first ... But acquiring the experience and their library procedures, you can not not assess the obvious advantages of programming in assembler. ****************************************** Here is an example of the shift command: The second R in the team - Right, that is, right. A =% 11100001; flag Half Carry = C RRCA> flag C <flag> C A =% 11110000; moves like a carousel flag C = 1 A =% 11110000; flag Half Carry = C RRA> flag C
Other articles:
Similar articles:
В этот день... 21 November