开发者

What do the "set_w" and "set_sw" assembly language commands do?

开发者 https://www.devze.com 2023-02-28 18:56 出处:网络
I believe the following sequence of Assembly Language code is Intel x86 based but I am not sure. JMPC SET_W

I believe the following sequence of Assembly Language code is Intel x86 based but I am not sure.

JMPC
SET_W
SET_开发者_运维问答SW
SET_W

What do SET_W and SET_SW do?


It's been a few years since I've done any Assembly (college, Motorola 68k too) but it looks like SET_W can be an alias for SETW which is a looping mode subroutine to write the word value (the 'W' part of SET_W) to all components of a block. SET_SW may be for short word or byte? I'm taking a stab at the last part there. Here's the link I found: RTF/68k Syntax


If you ever have a question about an intel instruction, you should use their freely available developer mamauls as your first stop, specifically volumes 2a and 2b. If an instruction is not in there its either not x86/x86/simd etc or its an undocumented alias. As for those instructions, they might be part of the branchless SETcc family, however i've never seen them before and intel doesn't use underscores in their opcode names, this is more likely SPARC or MIPS assembly.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号