[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 5 KB, 475x225, Untitled.png [View same] [iqdb] [saucenao] [google]
3958379 No.3958379 [Reply] [Original]

how do you determine the length of a machine code instruction?

so,
AX=1000H
BL=80H

How many bytes for the instruction

MOV AX,BL

>> No.3958518
File: 12 KB, 289x352, 42511370.MrBump.jpg [View same] [iqdb] [saucenao] [google]
3958518

>> No.3958596

Whatever BL might be:
http://www.mathemainzel.info/files/x86asmref.html#mov

I never did Intel assembler, though.
Look up 'intel opcode' for more good overviews and tables.

>> No.3958604

datasheets give opcodes, unless it is like gnu assembler or something, then you'd have to look at their docs

>> No.3959178

>>3958596
thanks for the link