Template talk:Infobox Instruction

From OSDev.wiki
Latest comment: 15 years ago by Virtlink in topic Different Syntaxes?
Jump to navigation Jump to search

Spelling

Just a quick question: It is called "usage" and not "useage", isn't it? --Walling 08:27, 13 December 2006 (CST)

"Usage" is correct - Combuster 12:21, 13 December 2006 (CST)

I fixed the spelling error in the template and where it is included. --Walling 18:15, 13 December 2006 (CST)

Different Syntaxes?

Why only one "usage"? A section for AT&T syntax would be nice. Some important differences would be for long jumps, where AT&T and Intel syntax differ a lot.

After some changing, debugging, etc... (pff) it works now: you may use multiple usages, and the syntaxt is like this:
{{Infobox Instruction|Instruction=MOV|Definition=Some definition|Usage=MOV dest, src|UsageSyntax=Intel|Usage2=MOVL %src, %dest|Usage2Syntax=AT&T}}
Which results in:
MOV
Some definition
 
Usage: (Intel)MOV dest, src
Usage: (AT&T)MOVL %src, %dest
Modifies Flags:None
Availability:all