hi, asm is an instruction of C++ languge that makes possible of insertion of the assembler codes (instructions) in a program like the ones in my program above.
the compiler errors which are generated :
syntax error : '{'
error C2143: syntax error : missing ';' error C2065: 'MOV' : undeclared identifier
error C2146: syntax error : missing ';' before identifier 'AH'
error C2065: 'AH' : undeclared identifier
error C2146: syntax error : missing ';' before identifier 'MOV'
error C2146: syntax error : missing ';' before identifier 'DL'
error C2065: 'DL' : undeclared identifier
error C2059: syntax error : 'bad suffix on number'
error C2146: syntax error : missing ';' before identifier 'INT'
error C2065: 'INT' : undeclared identifier
error C2143: syntax error : missing ';' before 'constant'
error C2146: syntax error : missing ';' before identifier 'H'
error C2065: 'H' : undeclared identifier
error C2143: syntax error : missing ';' before '}'
Error executing cl.exe.
P.S. Thanks for your first reply,
|