inside_SUB
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · ssams
thanks for your replay
this is make me learning more.
But when i try to try, i found a new problem when i try to read
the value from ecx after doing syscall read.
mov $3,%eax
mov $0,%ebx
mov $6,%edx
Quoted 8 lines
how can i read input from this code and reprinting it...? for example output:
Enter e number: 4 #we enter 4
you have number: 4 #reprintinghelp me please
regard
ssams
.data
char: .byte 0
.text
.globl _start_start:
mov $3,%eax xor %ebx,%ebx mov $char,%ecx mov $1,%edx int $0x80 mov $4,%eax inc %ebx int $0x80 mov $1,%eax int $0x80
Regards,
PS I recommend to read some tutorial(s) on how to write assembly code useing Linux's calls.
Signature · 1 line
Maciej Hrebien