Oct 19, 2007 #1 S shaun_c_m Junior Member level 2 Joined Oct 12, 2007 Messages 21 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,518 what is the difference between the '0x00' and '00h' formats in assembler code? are they interchangeable? examples: number_temp equ 0x1a number_temp equ 1ah what does the '0x' stand for ? thanks
what is the difference between the '0x00' and '00h' formats in assembler code? are they interchangeable? examples: number_temp equ 0x1a number_temp equ 1ah what does the '0x' stand for ? thanks
Oct 19, 2007 #2 blueroomelectronics Advanced Member level 5 Joined Sep 17, 2006 Messages 1,681 Helped 180 Reputation 358 Reaction score 77 Trophy points 1,328 Location Toronto, Canada Activity points 8,696 simple question No difference, it's a personal preference.
Oct 19, 2007 #3 S shaun_c_m Junior Member level 2 Joined Oct 12, 2007 Messages 21 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,518 Re: simple question so the '0x' isnt a bank/page reference or anything?
Oct 19, 2007 #4 blueroomelectronics Advanced Member level 5 Joined Sep 17, 2006 Messages 1,681 Helped 180 Reputation 358 Reaction score 77 Trophy points 1,328 Location Toronto, Canada Activity points 8,696 simple question Nope just a way of saying it's a hex number. Just like a period means it decimal ie = .12 is the same as 12d
simple question Nope just a way of saying it's a hex number. Just like a period means it decimal ie = .12 is the same as 12d
Oct 19, 2007 #5 S shaun_c_m Junior Member level 2 Joined Oct 12, 2007 Messages 21 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,518 Re: simple question thank-you!
Oct 22, 2007 #6 H hamed_sotoudi Full Member level 3 Joined Aug 1, 2007 Messages 156 Helped 15 Reputation 30 Reaction score 4 Trophy points 1,298 Location Germany Hamburg Activity points 2,195 Re: simple question there is no difference between them. in assembly u use 0x because there should be a defference between characher and numbers. u specify for compiler that x is a base and is not a character for this u should use one 0 before it.
Re: simple question there is no difference between them. in assembly u use 0x because there should be a defference between characher and numbers. u specify for compiler that x is a base and is not a character for this u should use one 0 before it.
Oct 23, 2007 #7 A ashokkumar.am Newbie level 6 Joined Oct 22, 2007 Messages 12 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,281 Activity points 1,350 Re: simple question In 0x09: here 0X indiactes Processor speed.. thank u..