Language 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: age – High-Level Language 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 1 0 00000000 01011110 00001100 11101111 11101111 11111000 10101101 01100010 11101111 00000010 11110100 10101101 00000011 10100010 11101111 00000010 01111110 11110100 11111000 10101110 00000110 10100010 11101111 00000010 01010000 00000100 11000010 00010110 10111110 11011111 11011111 11111011 11011111 11011111 11011111 10101101 11000101 11111011 11111011 11010100 00000100 0000000000000000 0000000000000010 0000000000000101 0000000000001011 0000000000010010 0000000000010101 0000000000010111 0000000000011110 0000000000100001 0000000000100100 0000000000101011 0000000000110001 0000000000110100 0000000000111011 0000000000111101 #include<stdio.h> int main(void) { int n1, n2,product; printf(“Enter two numbers : “); scanf(“%d %d”,&n1,&n2); product = n1 * n2; printf(“%d”,product); return 0; } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 entry main,^m<r2> sub12 #12,sp jsb C$MAIN_ARGS moveb $CHAR_STRING_CON pusha1 pusha1 calls pusha1 pusha1 calls mull3 pusha calls clrl ret -8(fp) (r2) #2,SCANF -12(fp) 3(r2) #2,SCANF -8(fp),-12(fp),6(fp) #2,PRINTF r0 The only language the computer can un...
View Full Document

Ask a homework question - tutors are online