Posts
 
Reputation
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
~772 People Reached
Favorite Forums
Favorite Tags
c++ x 4
java x 4
c x 3
Member Avatar for karthik.datt

I need to split the below string: line.long 0x0 " MIDR, Identity Code Register" I have used space , as the delimiters. the code should give output in such a way that Command Name: line Size: long Offset : 0x0 short name: MIDR Long name=Identity code register. The problem is …

Member Avatar for stultuske
0
137
Member Avatar for karthik.datt

The withoutcomment.txt file contains : [general] "PC", 0x0, 32, RW, reg , 1, "Program Counter (R15)"; "LR", 0x11, 32, RW, reg , 18, "Link Register (R14)"; "SP", 0x10, 32, RW, reg , 17, "Stack Pointer (R13)"; But i am able to print only first line but its not going to …

Member Avatar for stultuske
0
170
Member Avatar for karthik.datt

hi, Can any one help me in parsing a file using java. for example in my text file i have data like line.long 0x0 "MIDR,Identity Code" so i need to read this from a file and print it as command=line type=long offset=0x0 description=MIDR,Identity code There are around 100's of lines …

Member Avatar for stultuske
0
110
Member Avatar for karthik.datt

i have written a code on assembler... when we enter the mnemonics it will give opcode... when i use %x in the printf it is giving correct opcode.. but when i use %c or %s it is printing some different characters.. but what i want is if i use %s …

Member Avatar for WaltP
0
164
Member Avatar for karthik.datt

#include <iostream> #include <windows.h> #include "g.h" typedef unsigned long (*AsmFunc)(AS_INBUF *, AS_OUTBUF *, T_REG_INF *, T_MPCNT *, ICE_ID *); int main() { AsmFunc _AsmFunc; HINSTANCE hInstLibrary = LoadLibrary((LPCWSTR)L"C:\Documents and Settings\karthikdatt\Desktop"); if (hInstLibrary) { _AsmFunc = (AsmFunc)GetProcAddress(hInstLibrary, "Assembler"); if (_AsmFunc) { std::cout << "ASSEMBLER FUNCTION" << _AsmFunc(ptr1,ptr2,ptr3,ptr4,ptr5) << std::endl; } } …

Member Avatar for karthik.datt
0
191