From 09255ed2ba03c8275aba63a111d8c7abf6ee6a21 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Thu, 9 Nov 2023 07:51:05 +0100 Subject: [PATCH] Use consistent naming for string termination character (#189) --- exercises/practice/atbash-cipher/impl.mips | 2 +- exercises/practice/raindrops/impl.mips | 2 +- exercises/practice/rna-transcription/impl.mips | 2 +- exercises/practice/rotational-cipher/impl.mips | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exercises/practice/atbash-cipher/impl.mips b/exercises/practice/atbash-cipher/impl.mips index 2602d56..4ec7e72 100644 --- a/exercises/practice/atbash-cipher/impl.mips +++ b/exercises/practice/atbash-cipher/impl.mips @@ -3,7 +3,7 @@ # - read input string from a0 # - follow the convention of using the t0-9 registers for temporary storage # - (if it uses s0-7 then it is responsible for pushing existing values to the stack then popping them back off before returning) -# - write a zero-terminated string representing the return value to address given in a1 +# - write a null-terminated string representing the return value to address given in a1 .globl atbash_cipher diff --git a/exercises/practice/raindrops/impl.mips b/exercises/practice/raindrops/impl.mips index c7f52d5..f13b086 100644 --- a/exercises/practice/raindrops/impl.mips +++ b/exercises/practice/raindrops/impl.mips @@ -3,7 +3,7 @@ # - read input value from a0 # - follow the convention of using the t0-9 registers for temporary storage # - (if it uses s0-7 then it is responsible for pushing existing values to the stack then popping them back off before returning) -# - write a zero-terminated string representing the return value to address given in a1 +# - write a null-terminated string representing the return value to address given in a1 .globl raindrops diff --git a/exercises/practice/rna-transcription/impl.mips b/exercises/practice/rna-transcription/impl.mips index 0cbf04d..e0dec8f 100644 --- a/exercises/practice/rna-transcription/impl.mips +++ b/exercises/practice/rna-transcription/impl.mips @@ -3,7 +3,7 @@ # - read input address of string from a0 # - follow the convention of using the t0-9 registers for temporary storage # - (if it uses s0-7 then it is responsible for pushing existing values to the stack then popping them back off before returning) -# - write a zero-terminated string representing the return value to address given in a1# Perform RNA transcription with the rules: +# - write a null-terminated string representing the return value to address given in a1# Perform RNA transcription with the rules: .globl transcribe_rna diff --git a/exercises/practice/rotational-cipher/impl.mips b/exercises/practice/rotational-cipher/impl.mips index 5eab920..5216eef 100644 --- a/exercises/practice/rotational-cipher/impl.mips +++ b/exercises/practice/rotational-cipher/impl.mips @@ -4,7 +4,7 @@ # - read shift key from a1 # - follow the convention of using the t0-9 registers for temporary storage # - (if it uses s0-7 then it is responsible for pushing existing values to the stack then popping them back off before returning) -# - write a zero-terminated string representing the return value to address given in a2 +# - write a null-terminated string representing the return value to address given in a2 .globl rotate