Click here to Skip to main content
16,008,075 members
Home / Discussions / System Admin
   

System Admin

 
Generalfolder date using bathfile Pin
Anonymous29-May-05 19:23
Anonymous29-May-05 19:23 
GeneralRe: folder date using bathfile Pin
Mekong River20-Feb-06 17:14
Mekong River20-Feb-06 17:14 
Generalintoofueil on Windows CE 5.0 Pin
Member 200235428-May-05 23:50
Member 200235428-May-05 23:50 
QuestionHow Win2K recognize the date format Pin
hanofee27-May-05 4:33
hanofee27-May-05 4:33 
Questionhow does the assembler translate Pin
not regd will du25-May-05 22:53
sussnot regd will du25-May-05 22:53 
AnswerRe: how does the assembler translate Pin
toxcct26-May-05 2:08
toxcct26-May-05 2:08 
AnswerRe: how does the assembler translate Pin
Mike Dimmick26-May-05 5:07
Mike Dimmick26-May-05 5:07 
AnswerRe: how does the assembler translate Pin
Roger Wright26-May-05 18:40
professionalRoger Wright26-May-05 18:40 
I like the answer that Mike gave you, but it needs a bit more detail to fulfill what you're asking. No matter what level of language you use to attack a problem, at some point the solution has to be translated into a pattern of ones and zeroes that a specific CPU can interpret and execute. That's the assembler's job. Each CPU on the market has a unique instruction set, which is defined as a set of binary numbers which cause the CPU to execute specific instructions. In reality, the binary number is an address which points to a starting point in the CPU Control Store that contains the binary switching information necessary to execute the specified instruction. In practice, what we see is an opcode, plus 0 or more operands contained in memory.

For example, for the old Intel 8080 CPU, a Jump instruction was defined as the hex value 0xc3, followed by two bytes of address data. When the program counter found the byte 0xc3, it then looked for two bytes of address data in the next two contiguous bytes of RAM, then transferred execution to the instruction at that address. The Assembler program takes care of filling that memory address with the proper binary data by using #define statements to assign specific values to variables, as in

#define Target 0x100
JMP Target

which would cause program execution to jump to the instruction located at 0x100.

Assembly programming requires an intimate knowledge of the target hardware and its internal structure. High level languages relieve us of that requirement, and make life much easier by abstracting the details of implementation so that we no longer have to worry about which registers are available, and whether memory addressing is high-Endian or low-Endian (Intel quirks). Using high level languages makes life a whole lot easier for all of us except those who have to worry about the details.

Voltage requirements are beyond the need-to-know threshold for programmers. If you can get the proper ones and zeroes into memory, we hardware types will take care of the rest. I strongly believe that a programmer who understands how the target hardware works will be a better programmer, but I think that I'm in a small minority group here - you decide. But I'm proud of you for wanting to understand. No knowledge is ever wasted...

"...putting all your eggs in one basket along with your bowling ball and gym clothes only gets you scrambled eggs and an extra laundry day... " - Jeffry J. Brickley
GeneralWinXP defrag automated Pin
Marc Soleda25-May-05 22:19
Marc Soleda25-May-05 22:19 
GeneralRe: WinXP defrag automated Pin
Alexander M.,10-Jun-05 8:27
Alexander M.,10-Jun-05 8:27 
GeneralRe: WinXP defrag automated Pin
Mekong River20-Feb-06 17:22
Mekong River20-Feb-06 17:22 
GeneralRe: WinXP defrag automated Pin
Marc Soleda20-Feb-06 21:27
Marc Soleda20-Feb-06 21:27 
GeneralRe: WinXP defrag automated Pin
Mekong River21-Feb-06 4:07
Mekong River21-Feb-06 4:07 
QuestionBatch queue for Windows/XP ?? Pin
MartinSerrer25-May-05 7:50
MartinSerrer25-May-05 7:50 
Generale-mail Pin
Omar _25-May-05 0:13
Omar _25-May-05 0:13 
GeneralRe: e-mail Pin
toxcct25-May-05 1:47
toxcct25-May-05 1:47 
GeneralRe: e-mail Pin
MoustafaS25-May-05 3:15
MoustafaS25-May-05 3:15 
GeneralRe: e-mail Pin
toxcct25-May-05 3:18
toxcct25-May-05 3:18 
GeneralRe: e-mail Pin
MoustafaS25-May-05 3:32
MoustafaS25-May-05 3:32 
GeneralRe: e-mail Pin
albCode6-Jun-05 2:51
albCode6-Jun-05 2:51 
GeneralRe: e-mail Pin
Vasudevan Deepak Kumar11-Jun-05 3:13
Vasudevan Deepak Kumar11-Jun-05 3:13 
GeneralRecovering deleted EFS-encrypted file Pin
Levente Farkas23-May-05 20:43
Levente Farkas23-May-05 20:43 
GeneralRe: Recovering deleted EFS-encrypted file Pin
Levente Farkas2-Jun-05 1:15
Levente Farkas2-Jun-05 1:15 
Generallimited Pin
Omar _23-May-05 7:20
Omar _23-May-05 7:20 
GeneralRe: limited Pin
toxcct23-May-05 21:31
toxcct23-May-05 21:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.