unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* ref manual errors in assembler insn descriptions
@ 2023-03-11 16:54 Matt Wette
  0 siblings, 0 replies; only message in thread
From: Matt Wette @ 2023-03-11 16:54 UTC (permalink / raw)
  To: guile-devel; +Cc: bug-guile

Hi All,

I'm pretty sure the instruction desciprtions shown below in the manual
are in error.   Please let me know if my corrections are correct.

Matt

--- vm.texi-orig    2023-03-11 08:40:59.000388237 -0800
+++ vm.texi    2023-03-11 08:48:57.940061512 -0800
@@ -1468,8 +1468,8 @@
  @var{obj}, and store it to @var{dst}.
  @end deftypefn

-@deftypefn Instruction {} scm-set! s8:@var{dst} s8:@var{idx} s8:@var{obj}
-@deftypefnx Instruction {} scm-set!/immediate s8:@var{dst} c8:@var{idx} 
s8:@var{obj}
+@deftypefn Instruction {} scm-set! s8:@var{obj} s8:@var{idx} s8:@var{val}
+@deftypefnx Instruction {} scm-set!/immediate s8:@var{obj} c8:@var{idx} 
s8:@var{val}
  Store the @code{scm} local @var{val} into object @var{obj} at word
  offset @var{idx}.
  @end deftypefn
@@ -1490,8 +1490,8 @@
  the @code{u64} local @var{dst}.
  @end deftypefn

-@deftypefn Instruction {} word-set! s8:@var{dst} s8:@var{idx} s8:@var{obj}
-@deftypefnx Instruction {} word-set!/immediate s8:@var{dst} 
c8:@var{idx} s8:@var{obj}
+@deftypefn Instruction {} word-set! s8:@var{obj} s8:@var{idx} s8:@var{val}
+@deftypefnx Instruction {} word-set!/immediate s8:@var{obj} 
c8:@var{idx} s8:@var{val}
  Store the @code{u64} local @var{val} into object @var{obj} at word
  offset @var{idx}.
  @end deftypefn
@@ -1501,7 +1501,7 @@
  to the unboxed pointer local @var{dst}.
  @end deftypefn

-@deftypefn Instruction {} pointer-set!/immediate s8:@var{dst} 
c8:@var{idx} s8:@var{obj}
+@deftypefn Instruction {} pointer-set!/immediate s8:@var{obj} 
c8:@var{idx} s8:@var{val}
  Store the unboxed pointer local @var{val} into object @var{obj} at word
  offset @var{idx}.
  @end deftypefn




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-11 16:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-11 16:54 ref manual errors in assembler insn descriptions Matt Wette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).