From 513531360fe050bcd3598a34dac25afa496fd4b2 Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Sat, 20 Jul 2024 01:38:55 -0500 Subject: Move string comparison --- misc/string.s | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 misc/string.s (limited to 'misc') diff --git a/misc/string.s b/misc/string.s deleted file mode 100644 index 0ed7ca3..0000000 --- a/misc/string.s +++ /dev/null @@ -1,16 +0,0 @@ -// R0 : string1 address -// R1 : string2 address -// Result in R0 -string_compare: - MOVS R4, 0 -loop: - LDRB R2, [R0, R4] - LDRB R3, [R1, R4] - CMP R2, R3 - BNE done - CMP R2, 0 - BEQ done - ADDS R4, 1 - B loop -done: - BX LR -- cgit v1.2.3