]> granicus.if.org Git - yasm/commit
Added conversion from immediate value to effective address. Used for enter
authorPeter Johnson <peter@tortall.net>
Mon, 21 May 2001 20:17:51 +0000 (20:17 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 21 May 2001 20:17:51 +0000 (20:17 -0000)
commite9bd95fd96187e3013c2de88af995c32573ab9cf
tree87957d2bf64b5a581fb4dbf554c15762cedc9b27
parenta750e39454f6802bc65c854b3d2dcda75bb8f0d4
Added conversion from immediate value to effective address.  Used for enter
instruction (which takes two immediate values).
To facilitate this change, changed meaning of "len" in bytecode structure
to be only the length of the offset (from being 1+length, the 1 being for the
Mod/RM byte), and added a need_modrm flag similar to the need_sib flag in
functionality.

svn path=/trunk/yasm/; revision=22
include/bytecode.h
libyasm/bytecode.c
libyasm/bytecode.h
src/bytecode.c
src/bytecode.h