Questions tagged [object-code]
41 questions
1
vote
1 answer
Problem with rotate circle
I want to rotate circle follows my finger's path.
If I move my finger more fast, then the circle must rotate fast.
If I move my finger slowly, the circle must slow.
Also circle's movement must smooth.
How can I implement this?
Please give me any…

bTagTiger
- 1,261
- 5
- 23
- 38
1
vote
1 answer
What is a TEX in OpenCL?
What is TEX in the object code of my OpenCL program? I put my kernel in the kernel analyzer and I saw the label TEX in the object code. I'm not sure what it means. I didn't find the description in the APP SDK guide. Can you direct me to a resource?

Jayavanth
- 11
- 1
1
vote
2 answers
Trace of the language on the object code
Is it possible to look at an object code and tell which language has been used originally to produce it? or does the language leaves a trace or a stamp on the object code ? do the compilers of various languages use a fixed format for a given ISA to…

KawaiKx
- 9,558
- 19
- 72
- 111
1
vote
1 answer
Why don't we write assemblers and linkers that can handle C++ identifiers?
My understanding of why we use name mangling is that assemblers and linkers can only handle C identifiers. "int foo::bar::baz(const MoreSpam&)" can't be used as a label by any existing assemblers, and existing linkers won't recognize it…

Dante Falzone
- 111
- 1
- 3
- 16
1
vote
0 answers
Assembly Code mapping with source code
I am trying to map source code to object code. I am creating new constructs, building these constructs in Code Composer for Different code Optimization levels and comparing them with the source code.
The issue I am facing is, when the DSP generated…

Ram
- 19
- 1
1
vote
0 answers
How can I generate relocatable- and absolute-objectcode?
If I have that C-Code:
int main()
{
int a = 2;
int b = 3;
int c = a + b;
return c;
}
How can I generate for the upper example a:
relocatable objectcode
absolute objectcode
within Linux (Ubuntu) and the GNU gcc-compiler ?

Jorgos
- 141
- 9
1
vote
3 answers
Objective-C exercises undeclared identifier error
I'm currently teaching myself Objective-C as a first language. I understand the difficulty involved, but I'm quiet a persevering individual. I've began to do the exercises on the Apple Objective-C documentation. My goal is to have my program log out…

TheM00s3
- 3,677
- 4
- 31
- 65
1
vote
1 answer
iOs 6 rotation and how To Integrate Cocos2D and UIKit?
Used the Ray Wenderlich tutorial "How to Intergrate UIKit and Cocos2D" mentioned here and it worked great unthil iOs6 was released, then, I get the "Orientation Problem on iOS 6"...
Help? How to apply the fix for the rotation problem?…

Andrea
- 11
- 1
1
vote
2 answers
Some questions regarding compilers and assemblers
Lots of basic questions are there in my mind. I need to clear them.
Statement 1: A compiler converts a human-readable codes to object codes, and those are converted to a machine code (executable) by linker.
Am I right here?
At wikipedia, it is…

Shashwat
- 2,538
- 7
- 37
- 56
1
vote
3 answers
Why do assembly call address have 0xFBFFFFFF added to them?
Ok so I am writting an assembler for an OS I am developing. It is coming along great I have about all mov instructions and now I want to implement instructions like call and jmp. I really do not have good documentation so I am looking at machine…

user1454902
- 750
- 9
- 24
1
vote
1 answer
How to pass data to a custom class(subview) drawRect function?
Edit:
I'm drawing a line using drawRect: function which resides in a custom class in a view which I created in the MainStoryboard.storyboard file. The view does point to the custom class (draw2D) in the interface builder.
All code i have regarding…

Himmi
- 47
- 6
0
votes
1 answer
Is object code from different programming languages compatible?
Can a library written in one programming language be linked with a program written in some other language? Is object code from two different programming languages that do the exact same thing (e.g add two numbers and divide by another) have the same…

Nishant George Agrwal
- 2,059
- 2
- 12
- 14
0
votes
2 answers
Object code parentheses (beginner)
Why do I have to add the () at the end of f in this example?
def do_twice(f):
f()
f()
def print_spam():
print 'spam'
do_twice(print_spam)
spam
spam
Is it because function objects require a specified argument for functions?

Seb
- 1,966
- 2
- 17
- 32
0
votes
0 answers
How can I translate sic/xe to object code?
Above sic/xe code,
I don't understand translate process.
105F LDT LENGTH => 774000
1056 EXIT STX LENGTH => 134000
I already know translate opcode and 000.
But I don't know how can I get 4.
Please give me kind explanation.

oldkrak
- 47
- 5
0
votes
0 answers
How to create object file from .cpp with header file
I'm trying to create an object file using g++ by typing into the linux terminal:
user$ g++ -c clockType_Cayas.cpp
clockType_Cayas.h
/* File: clockType_Cayas.h
* Author: Von Vic Cayas
* Date: October 27, 2019
*/
#ifndef clockType
#define…

AZNPNOY2000
- 31
- 9