Question: in c++ Write a program to get the name, the starting address (in hexadecimal), and the length (in decimal) of a given object program. Example,
in c++

Write a program to get the name, the starting address (in hexadecimal), and the length (in decimal) of a given object program. Example, for the following input HCOPY 107A 11410334820393628103035482063c100102A0391020 036,4820610810334coooos4P4 6 20391104 10303020 3030203x0820502810303020575490392c2058382035 20511110364coooo 104103002079302064509039pc20792c1036 207 3023820644 cooooos 000100 The program should display COPY, 1000, 4218 To accomplish this project, you should be aware of the object code records format, and able to extract the required fields. Write a program to get the name, the starting address (in hexadecimal), and the length (in decimal) of a given object program. Example, for the following input HCOPY 107A 11410334820393628103035482063c100102A0391020 036,4820610810334coooos4P4 6 20391104 10303020 3030203x0820502810303020575490392c2058382035 20511110364coooo 104103002079302064509039pc20792c1036 207 3023820644 cooooos 000100 The program should display COPY, 1000, 4218 To accomplish this project, you should be aware of the object code records format, and able to extract the required fields
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
