In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote: Lewis, Yes, SX/B compiles to assembly and then loads to the chip. The SX debugger/editor/etc all deal with assembly language. Hence, to support BASIC (or any high level language), the simplest approach is to compile into assembly and then let the rest of the IDE do what it does already with assembly language. CPUs understand their native machine language, and assembly language is the human readable (mnemonic) version of that. To convert from machine to assembly is a trivial programming task. The hard part is getting the compiler to convert high level code (such as BASIC) into machine code. Do you not use the IDE debugger when trying to debug programs? If you do, then you have seen the assembly code the compiler generates. IF you haven't been using the debugger, then you are missing out on one of the single biggest benefits of the SX chip. If you simply want to see the assembly listing, hit Run->View List, or use the shortcut CTRL-L. Thanks, PeterM ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=201163#m201257 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)