Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
.code tetrabonacci PROC push ebp ;save previous pointer mov ebp,esp ;save current pointer sub esp, 4 ;make room for local variable ptr mov eax,[ebp+8] ; get n ;if ((n==1)|| (n==2) return 1 else do recursion cmp eax, 2 ;n>2? ja recursion ; yes: continue to recursion mov eax, 1 ; … |
|
Alright i have written my code to reverse a byte string character by character in-place using a loop. We have to utilize the SIZEOF and OFFSET operands and use indirect addressing, However my issue is that I am still getting the string displayed forward and not in reverse. I think … |