Iam beginner in assembly language, can any one explain what is wrong with my simple code and fix it?
Iam trying to read integer number and display it, my program is as follow:
.data
.global main
.extern printf
main:
mov r1, #20 //read value 20 into register r1
bl printf //print the value
but why it seems not working ?!