Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 what happened here?(noobie)
#1
trying to understand what is happening in this structure
1. did 0A, 03, and 7F get poped out? if so why were they replaced by 82

2. also how does divide makes sense here? with 00 41


;>|
    Push 2
;>| 02
    Push 7F
;>| 7F 02
    Read            ; assuming user inputs 0x3
;>| 03 7F 02
    Push 0A         ; OFFSET of Adder
;>| 0A 03 7F 02
    Call
;>| 82 02
    Divide
;>| 00 41
Quote
#2
May be it has something to do with the fact that 82 divided by 2 gives 41 with a remainder of 0. Also in base 16, one has 03 + 7F = 82.
Quote
#3
(Sep-02-2018, 01:34 PM)Gribouillis Wrote: May be it has something to do with the fact that 82 divided by 2 gives 41 with a remainder of 0.

why do you get the remainder?(sorry for stupid question still new)

do you have any idea whats happening after the call function? i don't think i get it
Quote
#4
(Sep-02-2018, 01:02 PM)SoulsKeeper Wrote: trying to understand what is happening in this structure
1. did 0A, 03, and 7F get poped out? if so why were they replaced by 82

2. also how does divide makes sense here? with 00 41


;>|
    Push 2
;>| 02
    Push 7F
;>| 7F 02
    Read            ; assuming user inputs 0x3
;>| 03 7F 02
    Push 0A         ; OFFSET of Adder
;>| 0A 03 7F 02
    Call
;>| 82 02
    Divide
;>| 00 41
no matter where i ask, no one understands why there is a 82 hex after the call, don't know what to do
Quote
#5
Of course no one understands, without documentation/specification of the language you use, best anyone can do is guess.
Have you no documents of any kind at your disposal that would help you with the course/material you are studying?
Besides, perhaps needless, but I should remind you this is a Python users community forum. Which, despite all efforts to help you, is probably not the best place to look for answers to this kind of questions.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Anyone know what happened to pypi-org stats page? Crontab 4 231 Jul-11-2019, 07:01 PM
Last Post: Crontab
  where to learn about Stack overflow for a noobie SoulsKeeper 4 605 Aug-31-2018, 10:55 AM
Last Post: Larz60+
  what happened to some of the other users? metulburr 7 3,299 Nov-07-2016, 08:24 PM
Last Post: micseydel

Forum Jump:


Users browsing this thread: 1 Guest(s)