From b1f3c80adb9d8c82abb94562a4e060cb12bdfca0 Mon Sep 17 00:00:00 2001 From: Charles Forsyth Date: Wed, 16 Mar 2016 21:17:31 +0000 Subject: correct definitions of several instructions --- doc/dis.ms | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/dis.ms') diff --git a/doc/dis.ms b/doc/dis.ms index be03f82d..7b90fbee 100644 --- a/doc/dis.ms +++ b/doc/dis.ms @@ -692,7 +692,7 @@ Syntax: indb src1, dst, src2 indw src1, dst, src2 indf src1, dst, src2 indl src1, dst, src2 -Function: dst = src1[src2] +Function: dst = &src1[src2] .P2 The .CW "indb" , @@ -706,7 +706,7 @@ operand must be an array created by the .CW "newa" instruction. The .CW "src2" -operand must be a non-negative integer index less than the array size. The value of the element at the index is loaded into the +operand must be a non-negative integer index less than the array size. The effective address of the element at the index is stored in the .CW "dst" operand. .SH @@ -726,7 +726,7 @@ the string's length.) The .CW "src1" operand must be a string (or nil). -The character to insert must be a valid 16-bit unicode value represented as a word. +The character to insert must be a valid 21-bit unicode value represented as a word. .SH jmp \- Branch always .P1 @@ -1743,7 +1743,7 @@ of bytes (of appropriate length) in big-endian form, converted to native format before being stored in the data space. The `string' code takes a UTF-encoded sequence of .CW count -bytes, which is converted to an array of 16-bit Unicode values stored in an +bytes, which is converted to an array of 21-bit Unicode values stored in an implementation-dependent structure on the heap; a 4-byte pointer to the string descriptor is stored in the data space. The `array' code takes two 4-byte operands: the first is the index of the array's type -- cgit v1.2.3