albertlee Posted May 24, 2004 Posted May 24, 2004 Where does ASCII code store in computer...? Secondly, are the ASCII code from 0 to 31 the asembly commands? if not? what are they used for? Apreciate for furthur responds Albert
YT2095 Posted May 25, 2004 Posted May 25, 2004 ascii is stored in tables on a ROM, it comes in 2 parts, the part you see (output tables) and the part you enter (lookup tables). ascii doesn`t really exist as an entity like A =65. `A` actualy is made up of a number sequence in a grid (maybe 8x8) and so will contain a list of 8 numbers, each number stating where a dot is on a line when added up as a binary sum. as for the input (lookup tables) it gets a little tricky, as often each manufacturer may have his own internal code unique to them as there`s no industry standard per se. it only becomes standardised where compatibility is essential. hope that helps?
albertlee Posted May 25, 2004 Author Posted May 25, 2004 YT, so do the internal codes (0~31) of ASCII work as low level programming language? Secondly, where on the computer do you mean the rom? on motherboard, CPU, or even CD-ROM(highly impossible) ? Apreciate for furthur help... Albert
YT2095 Posted May 25, 2004 Posted May 25, 2004 no, ascii is for our benefit only, it provides an interface through which we can comunicate, the computer doesn`t actualy need it, we do the ROM is on the mother board, in a PC it`ll be a memory area in the BIOS chip
Dave Posted May 25, 2004 Posted May 25, 2004 YT' date=' so do the internal codes (0~31) of ASCII work as low level programming language? Secondly, where on the computer do you mean the rom? on motherboard, CPU, or even CD-ROM(highly impossible) ? Apreciate for furthur help... Albert[/quote'] The internal codes for ASCII are used for things like carriage returns, num lock keys, line feeds, etc which help to display text on the screen. As YT said, the ROM is located on the motherboard.
albertlee Posted May 25, 2004 Author Posted May 25, 2004 The thing which makes me think that those 0~31 ascii codes are assembly language is that they are the only "commands" of an exe I can see on Ultra Edit (16 bits) in HEX........ then where do the programming language go? is'nt the 0~31 ascii code assembly language? Any more suggestion? Albert
YT2095 Posted May 25, 2004 Posted May 25, 2004 those codes aren`t ASM, they`re just pointers on a table, that table has a list of mem addresses. each address then has it`s own sub program in binary terminating in a return as indicated by the Stack Pointer. 0 to 31 are just table references
Dave Posted May 25, 2004 Posted May 25, 2004 The thing which makes me think that those 0~31 ascii codes are assembly language is that they are the only "commands" of an exe I can see on Ultra Edit (16 bits) in HEX........ That's because a hex editor also throws up an ascii representation of the file you're opening (in case there's some text in there you want to change, or to make it easier to read etc).
albertlee Posted May 25, 2004 Author Posted May 25, 2004 but there "are" only hex numbers which represent the characters of Unicode and No programming language at all in hex editor......then where do the programming language go? Albertlee
YT2095 Posted May 25, 2004 Posted May 25, 2004 at that level (machine code) it is a programing lang, it just doesn`t look like it, and gets even worse when taken in its lowest form of binary. the programing lang will be the codes used to represent an OP in the cpu. unless you know those cpu codes and what`s the binary representation of LDA for instance, it`ll make no sense at all to you
albertlee Posted May 25, 2004 Author Posted May 25, 2004 ok, so do Unicode involve machine language? since it has all the hex codes? Albert
YT2095 Posted May 25, 2004 Posted May 25, 2004 if you can see hex, then you can bet you`re looking at macine code, yes it`s often accompanied by it`s ascii equiv, totaly ignore that, it`s only for working with text strings
albertlee Posted May 25, 2004 Author Posted May 25, 2004 ok, but when I search on the unicode table, it does not have any "command"...It only has mostly weird char or asian words........ Does Unicode really involve the machine command? can any one give an example? then I can find in the Unicode table? Albert
albertlee Posted May 26, 2004 Author Posted May 26, 2004 Any help on my previous message? Apreciate Albert
YT2095 Posted May 26, 2004 Posted May 26, 2004 that would depend on your cpu make and you`ll need to be armed with a memory map and hardware chip registers. for instance on a Z80 cpu code 76h meant halt (cease all activity) but in ascii you`de see that as some weird UDG that would mean little to nothing to you
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now