INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

help

help

(OP)
plz help me...and tells that what is the result of this code...and what is doing hee?????
ORG 0H
ACALL DELAY(ACALL (absolute call). Deciding which one to use depends on the target address. )
MOV P2,#0(define port2 as input with value 0)
ACALL DELAY
MOV P2,0X80(The prefix 0x means it's hexadecimal, 0x80 means 128 in decimal. Likewise 128 would mean 0x80 in hex. )
HERE: RR P2
ACALL DELAY
SJMP HERE
MOV R0.#255
H3: MOV R1,#255
H2: MOV R2,#20
H1: DJNZ R2 ,H1(decrement and jump if not zero processing condition if vlue is not zero,also decrease the value)
DJNZ R1 ,H2
DJNZ R0 ,H3
END

RE: help

When posting, you need to use a meaningful title . . . 99% ot the topics posted are looking for some kind of help.

As there are dozens of assemblers, you need to specify Which assembler you are using on which Operating System.

Suggest you run the code and watch what happens. If there is anything strange/unexpected that happens, post what happened here and any informational or diagnostic information presented to you.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close