I'm stuck on enter string, display entered string and convert string upper case to lower case.
I have to use emu8086.inc but I don't know how to convert this code below to accept string instead of number/integer. Anybody willing to guide further on this matter?
8086 asm CODE:
include 'emu8086.inc'
ORG 100h
LEA SI, msg1
CALL print_string
CALL scan_num
MOV AX, CX
; print the following string:
CALL pthis
DB 13, 10, 'You have entered: ', 0
CALL print_num
RET
msg1 DB 'Enter the number: ', 0
DEFINE_SCAN_NUM
DEFINE_PRINT_STRING
DEFINE_PRINT_NUM
DEFINE_PRINT_NUM_UNS
DEFINE_PTHIS
END
Thank you in advance.