From 6f7e71326c55504210da18f6f5c66fa7356033a2 Mon Sep 17 00:00:00 2001 From: FlameCyclone Date: Mon, 7 Aug 2023 22:01:48 +0800 Subject: [PATCH] update readme --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 58e0ac6..45445f8 100644 --- a/README.md +++ b/README.md @@ -276,7 +276,14 @@ Other 'special' parameters can be used, here's a list of all the possible parame DB - Store one or more data bytes at the current location. - STR - Stores a string, the first byte is the length of the string. + STR - Stores a string, the first byte is the length of the string, + followed by the string content, + The effect is equivalent to . DB is preceded with a length, + here's a small example: + ;use DB specified a length + string: + DB 12,"Hello World!" + ;can be replaced with STR: + STR "Hello World!" DW - Store data words.