正在加载图片...
C, JAVA VARIABLES VS REGISTERS In c(and most High Level Languages)variables declared first and gIven a type Example: int fahr, celsius char a, b, c d ei Each variable can ONlY represent a value of the type it was declared as(cannot mix and match int and char variables In Assembly Language, registers have no type; operation determines how register contents are treated▪ In C (and most High Level Languages) variables declared first and given a type • Example: int fahr, celsius; char a, b, c, d, e; ▪Each variable can ONLY represent a value of the type it was declared as (cannot mix and match int and char variables). ▪ In Assembly Language, registers have no type; operation determines how register contents are treated. 12
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有