Add the load/x instruction for bit selects.

This commit is contained in:
steve
2001-07-22 00:04:50 +00:00
parent 60c22aefeb
commit 54140dadcf
5 changed files with 40 additions and 6 deletions
+9 -1
View File
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2001 Stephen Williams ([email protected])
*
* $Id: opcodes.txt,v 1.26 2001/07/19 04:40:55 steve Exp $
* $Id: opcodes.txt,v 1.27 2001/07/22 00:04:50 steve Exp $
*/
@@ -233,6 +233,14 @@ Bit address zero is the LSB of the first memory word. This
instruction loads only a single bit.
* %load/x <bit>, <functor-label>, <idx>
This is an indexed load. It uses the contents of the specified index
register to select a bit from an array based at <functor-label>. The
bit is pulled from the addressed functor and loaded into the
destination bit. This function does not do any bounds checking.
* %mod <bit-l>, <bit-r>, <wid>