Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

assembly programe logical error

Status
Not open for further replies.

MahmoudHassan

Full Member level 6
Joined
Oct 4, 2010
Messages
349
Helped
44
Reputation
90
Reaction score
40
Trophy points
1,328
Activity points
3,913
Hello

i have problem with my program
the task of the program is that it has 4 data saved in ASCII(MAHM)
and it required to take 4 data inputs
and then check these characters one by one
if char1(saved) == char1(input) then output = Y ; yes
if char1(saved)!= char2(input ) then output =N ; No

but the great llogical Error was that
for all inputs out is NNNN !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

i thought there is something Error
i can't find it

Hint:
iam beginner in assembly (my first day and my first program i hope not to be the last :D:D:D)

attached .asm file
the complete code
thanks View attachment jrrrr.rar
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top