Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 2.1
#3
Do the following code snippets violate Rule 2.1?

1. macro encapsulation:
#pragma asm
MOV A,B
....
....
#pragma endasm

2.function call
asm(\"CLI\");

or

move(\"MOV A,B\");


Also statements like

asm{ \"CLI\" };

seem to be compiler specific.
What are the other possible ways of violating this rule (compiler specific/not specific).

Also, please can you give examples where the rule is not violated.
<t></t>


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)