hi ,
i understood but one short of question i have that . I dont know in this forum i can ask this question or not. ..still in ARM why unalligned address operation will give data abort ? I am facing this but is this thing will be happened for any special case. If you have any idea or proper link. please help me to know.
User Profile
Collapse
-
-
32 bit allignment
Hi ,
I am facing some allignment issue on ARM. So how to check the a address is 32 bit alligned or not. so then i can round off with next 32bit boundary .
please let me know that if any proper pseudo method ( C or arm assembly )is there to check .
Thanks
mcarthy -
recursive prog
Hi,
I am very much puzzled to solve this problem .Though i am not from comp. science background but have passion to crack the algos.
Prob is ->
How do you prove the correctness of a recursive program? Prove the correctness the
following function which computes n’th Fibonacci number
function fib(n)
begin
if (n1) then
return (n)
else
return (fib(n-1)+fib(n-2))
end... -
Address allignment
Hi ,
Can someone please help me to know how can i check that a 32 bit address is alligned or invalid address ? Can it possible by C code?
I am waiting for your reply.
Thanks
mcarthybn -
hi ,
My question is to know the caller function name because if i put __FILE__ in my function , obviously it will not help to know who is caller of my function.
According to donbock how to print the stack tree or capture the stack pointer or link register , so it will help in crash time also heavily..
Regarding log file also , i have to put everywhere where a function are get called., so it will not help me to...Leave a comment:
-
How to know the know calling function name by C programme
hi ,
I am working on huge C programming project.I am doin debugging only by printf
measn i dont have any dubugger .So it is very difficult know who is actually calling a function and i am stuck in a problem that , i have seen that one fucntion is get called by from some 160 postions. and i need to solve some problem and it is very probmatic to get print from 160 postions.So ,is there any way to get to know who is calling that function...
No activity results to display
Show More
Leave a comment: