What is another way we can write inline assembly without hav

What is another way we can write in-line assembly without having to insert the term asm in front of every line as in the following?

asm(\"ldx #$2000\");

asm(\"loop: nop\");

ams(\"dbne x, loop\");

Solution

asm( \"mov r1, r1\ \\t\" \"mov r1, r1\ \\t\" \"mov r1, r1\ \\t\" \"mov r1, r1\" );
What is another way we can write in-line assembly without having to insert the term asm in front of every line as in the following? asm(\

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site