Unit 5 L2 | 8051 | Addition of Two 8 bit Numbers in 8051 using Assembly language | L64

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025
  • #8051
    write an assembly language program for Addition of Two 8-bit numbers In
    Microcontroller 8051
    8051 programming

ความคิดเห็น • 24

  • @whoaskedxdegfx
    @whoaskedxdegfx ปีที่แล้ว +2

    In addition does it necessary to take two memory address serial wise Like 20H and 21H?????

    • @TechnoTutorials2783
      @TechnoTutorials2783  ปีที่แล้ว

      No it's up to u if u setting pointer then must be serial wise if u r loading separately then u can use any location

  • @yashkataria2992
    @yashkataria2992 ปีที่แล้ว +1

    Is this program the same for subtraction of two 8 bit numbers just SUB instead of ADD ?

    • @TechnoTutorials2783
      @TechnoTutorials2783  ปีที่แล้ว

      Subb

    • @yashkataria2992
      @yashkataria2992 ปีที่แล้ว +1

      @@TechnoTutorials2783 thq mam and can you please send what will be changes for multiplication and division of 2 8-bit numbers

  • @hvkeee
    @hvkeee ปีที่แล้ว

    MADAM TAKE UP PROGRAM EXECUTION IN KEIL S/W SIDE BY SIDE .TAT WILL IMPROVE UNDERSTANDING

    • @TechnoTutorials2783
      @TechnoTutorials2783  ปีที่แล้ว

      Ok will try
      Thanks for suggestion

    • @hvkeee
      @hvkeee ปีที่แล้ว

      🙂@@TechnoTutorials2783

  • @spokova
    @spokova ปีที่แล้ว

    What happens if the carry value is non-01(i.e., any value other than 1)..
    How that Higher bit of Sum(which is > 1) is added and stored in the destination location ?

  • @user-hc5jx3bu3u
    @user-hc5jx3bu3u 2 ปีที่แล้ว +1

    You said #20H means value at location 20 H to R0 but #20H means value 20H to R0,please explain

    • @TechnoTutorials2783
      @TechnoTutorials2783  2 ปีที่แล้ว

      Yes # means immediate value

    • @user-hc5jx3bu3u
      @user-hc5jx3bu3u 2 ปีที่แล้ว

      @@TechnoTutorials2783 that means in the 1st location it'll be value 20H to R0 register,is that correct?

    • @TechnoTutorials2783
      @TechnoTutorials2783  2 ปีที่แล้ว

      @@user-hc5jx3bu3u for R0 it is data
      But if we add @RO Then content of R0 work as address

    • @user-hc5jx3bu3u
      @user-hc5jx3bu3u 2 ปีที่แล้ว +1

      @@TechnoTutorials2783 Okay,thank you so much mam

    • @user-hc5jx3bu3u
      @user-hc5jx3bu3u 2 ปีที่แล้ว

      Hello,can you please please give me Alp for average of two numbers in 8051

  • @revolution_is_not_free
    @revolution_is_not_free 3 ปีที่แล้ว

    I've got a question that always annoys me, which is how does someone convert their assembly code with all variables and libs to hex code and inject it in memory using another program in c/c++, and still works.
    how do you even convert an assembly code to hex code, I mean you could convert instructions, but variables!!!
    cool channel, keep up the good work

  • @statusconsole6440
    @statusconsole6440 ปีที่แล้ว +1

    Koi bhi ek program likhhe to chalega?

    • @TechnoTutorials2783
      @TechnoTutorials2783  ปีที่แล้ว +2

      Yes

    • @statusconsole6440
      @statusconsole6440 ปีที่แล้ว +2

      @@TechnoTutorials2783 apka video dekhh kar bohot easy se programming sikhh gaya thank you 😊

  • @mahendramahi8993
    @mahendramahi8993 ปีที่แล้ว

    Using DPTR ko explain Karo mam

  • @Choraharayaneka
    @Choraharayaneka ปีที่แล้ว

    Write an assembly program using two 8-bit numbers 30H and 16H for the following arithmetic instructions:
    (a) DIV
    (b) ADD
    (c) RRC
    Also write meaning, result and flags affected after the execution of program.