Skip to content

Commit

Permalink
Update beam_instructions.asciidoc
Browse files Browse the repository at this point in the history
Fix typo.
  • Loading branch information
happi committed Apr 12, 2019
1 parent 3b8c87d commit cf7a437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/beam_instructions.asciidoc
Expand Up @@ -194,7 +194,7 @@ The other two functions in the file are auto generated. If we look at
the second function the instruction +{move,{x,0},{x,1}}+ moves the
argument in register x0 to the second argument register x1. Then the
instruction +{move,{atom,beamexample1},{x,0}}+ moves the module name
atom to the first argument register x1. Finally a tail call is made to
atom to the first argument register x0. Finally a tail call is made to
+erlang:get_module_info/2+
(+{call_ext_only,2,{extfunc,erlang,get_module_info,2}}+). As we will
see in the next section there are several different call instructions.
Expand Down

0 comments on commit cf7a437

Please sign in to comment.