Pārlūkot izejas kodu

FIX: comment rework

tags/v1.0
Christos Choutouridis pirms 4 gadiem
vecāks
revīzija
5938e2ba61
1 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. +5
    -3
      main.c

+ 5
- 3
main.c Parādīt failu

@@ -54,9 +54,11 @@ len_loop // do {
* We use a simple O(n), no stack algorithm.
* @note
* This function also writes to RAM address @ref RESULT the return value (which is nasty).
* @arg R0: Pointer to string
* @return R0: True if predicate
* False if not
* @arg src{R0} Pointer to string
* @return {R0} True if palindrome, false if not or src is NULL pointer
* @note
* We consider an empty string "" to be a palindrome, as we can see it the same way both
* from the front and the back.
*/
__asm uint32_t isPalindrome (const char* src) {
// R0: src[]


Notiek ielāde…
Atcelt
Saglabāt