Index | Fejlesztés Development | CPU | Számítógép Computer | Assembler | Monitor | Függvények Library
Decimális szám leírását tartalmazó sztring átalakítása számmá. A számnak pozitívnak kell lennie, előjel karaktert nem tartalmazhat. Ha a sztring nem tartalmaz hibás, érvénytelen karaktert, akkor a flag regiszter C bitje 1 lesz. Ellenkező esetben a konverzió befejeződik a hibás karakternél. Convert a string containing a description of a decimal number to a number. The number must be positive, and must not contain a sign character. If the string does not contain any invalid characters, then bit C of the flag register will be set to 1. Otherwise, the conversion will end at the invalid character.
Hexadecimális szám leírását tartalmazó sztring átalakítása számmá. A számnak pozitívnak kell lennie, előjel karaktert nem tartalmazhat. Az a-f számjegyek kis és nagybetűk is lehetnek. Ha a sztring nem tartalmaz hibás, érvénytelen karaktert, akkor a flag regiszter C bitje 1 lesz. Ellenkező esetben a konverzió befejeződik a hibás karakternél. Convert a string containing a hexadecimal number to a number. The number must be positive and cannot contain a sign character. The digits a-f can be either upper or lower case. If the string does not contain any invalid characters, bit C of the flag register will be set to 1. Otherwise, the conversion will end at the invalid character.
Az R1 regiszterben lévő karakter keresése az R0 címen kezdődő sztringben, a kis- és a nagybetűk különbözőnek számítanak. Ha a keresett karakter megtalálható a szövegben, akkor az R4 a karakter tartalmazó szó címe lesz, az R5 pedig a karakter indexe a szóban. Ha nincs találat, az R4 és R5 0 lesz. A találatot a flag regiszter C bitjének 1 értéke jelzi. Search for the character in register R1 in the string starting at address which is in R0, uppercase and lowercase letters are considered to be different. If the searched character is found in the string, then R4 will be the address of the word containing the character, and R5 will be the index of the character in the memory word. If there is no match, R4 and R5 will be 0. A match is indicated by the value of 1 in bit C of the flag register.
Két sztring összehasonlítása, a kis- és a nagybetűk különbözőnek számítanak. Egyezés esetén a flag regiszter C bitje 1 lesz. Compare two strings, lowercase and uppercase letters are considered different. If there is a match, bit C of the flag register will be set to 1.
Két sztring összehasonlítása, a kis- és a nagybetűk megegyezőnek számítanak. Egyezés esetén a flag regiszter C bitje 1 lesz. Compare two strings, lowercase and uppercase letters are considered the same. If there is a match, bit C of the flag register will be set to 1.
String hosszának meghatározása. A függvény a sztringben lévő karakterek számát adja. Determines the length of a string. The function returns the number of characters in the string.
A függvény egy sztring által elfoglalt memória hely méretét adja meg, beleértve a sztringet záró 0 értékű szót is. The function returns the size of the memory space occupied by a string, including the 0-valued word that terminates the string.
A függvény normál/pakolt formájú sztringnek egy adott sorszámú karakterét adja, az első karakter sorszáma 0. Ha a sorszám nagyobb, mint a sztring hossza, akkor 0 lesz az eredmény. The function returns a character with a given sequence number of a string in normal/packed form, the sequence number of the first character is 0. If the sequence number is greater than the length of the string, then the result will be 0.
A függvény normál/pakolt formájú sztringnek egy adott sorszámú (első karakter sorszáma 0) karakterét lecseréli a megadott karakterre. Ha a sorszám nagyobb a sztring hosszánál, akkor nem történik módosítás. The function replaces a character with a given sequence number (the first character has sequence number 0) of a normal/packed string with the specified character. If the sequence number is greater than the length of the string, then no modification is made.
A függvény megvizsgálja, hogy a paraméterül megadott helyen kezdődő sztring pakolt formátumú-e, ha igen, a C flag 1 lesz. Az üres sztring nem pakolt formátumú. The function checks whether the string starting at the position specified as the parameter is in packed format, if so, the C flag will be 1. The empty string is not packed.
A függvény átalakít egy normál/pakolt sztringet normál formára. A kimeneti buffer méretét nem ellenőrzni, a megfelelő tárterületről a hívás előtt kell gondoskodni. The function converts a normal/packed string to normal form. The size of the output buffer is not checked, adequate storage space must be provided before the call.
A függvény átalakít egy normál/pakolt sztringet pakolt formára. A kimeneti buffer méretét nem ellenőrzni, a megfelelő tárterületről a hívás előtt kell gondoskodni. The function converts a normal/packed string to packed form. The size of the output buffer is not checked, adequate storage space must be provided before the call.