728x90 Research245 volatile Volatile By Nigel Jones Embedded Systems Programming (07/02/01, 12:20:57 PM EDT) The use of volatile is poorly understood by many programmers. This is not surprising, as most C texts dismiss it in a sentence or two. Have you experienced any of the following in your C/C++ embedded code? Code that works fine-until you turn optimization on Code that works fine-as long as interrupts are disabled Fla.. 2002. 12. 4. What Is Alignment What Is Alignment? Simple data types declared as variables are assigned addresses that are multiples of the size (in bytes) of the data type. Thus, variables of type long will be assigned addresses that are multiples of 4 (the bottom 2 bits of the address are 0). Structures are padded so that each element of the structure will end up at a naturally aligned address. For example:struct x_ { char a.. 2002. 12. 4. 커널에서 double형의 연산이 가능한가요? 출처 : http://linuxkernel.net 게시판 -------------------------------------------------------------------------------- 2002/09/19 (16:35) from 211.38.3.65' of 211.38.3.65' Article Number : 5920 정지호 Access : 18 , Lines : 31 커널에서 double형의 연산이 가능한가요? 혹시 시도해 보신분 안계세요? 커널 소스에서 double형을 사용한곳을 찾아 보니깐.. 드라이버 쪽에서 몇개가 나오고 나머지는 없더군요... 아래 코드의 수행 결과가 이상합니다. ============================================= double dd .. 2002. 12. 4. Final word on the 8051 www.8051.co.kr.. 2002. 12. 4. 이전 1 ··· 58 59 60 61 62 다음 728x90