WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
Pages (2) [1] 2   ( Go to first unread post )

Compiling 8051 code, I'm a newbie at assembler and want to know if there is an add-in to compile code for the 8051.

densfordt
Quote Post


New Member
*

Group: Members
Posts: 1
Member No.: 14737
Joined: 6-November 08


I'm a newbie at assembler (or writing any code for that matter) and want to know if there is an add-in to compile code for the 8051? Can I at least use the c51 compiler after composing the software in this IDE.
PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2301
Member No.: 160
Joined: 22-June 04


yes, it is possible to use such compiler with FASM add-in - look at the example

1.take WinAsm Studio for FASM - when you unpack it to D:\ it will have already configured FASM add-in. (other location - see readme inside)

2.then you have to work at least once:
- create new empty project (ctrl-N)
- add any empty asm-file (as WinAsm Studio is for asm, if there is no asm file in the project - compilation options will be blocked)

(to be continue)

Attached Image
Attached Image
PMEmail PosterUsers Website
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2301
Member No.: 160
Joined: 22-June 04


- in project properties open "assemble" tab and type there, say: c51 my.c51
(or other commandline for compilation, it is supposed that after closing project properties box you will add "my.c51" file into project via menu: Project->Add New Other)

Attached Image
Attached Image
PMEmail PosterUsers Website
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2301
Member No.: 160
Joined: 22-June 04


- then open project Environment tab and type there string like this:
PATH=%C51%

Attached Image
Attached Image
PMEmail PosterUsers Website
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2301
Member No.: 160
Joined: 22-June 04


after closing properties box call environment manager via menu Add-Ins. open Studio tab and add C51 variable with real path to c51 on your PC. do not forget to press "apply" button!

this "complex" operations with environment will make your project "portable" - if somebody or even you on another pc have c51 in other location you will not need to change project settings when copy from one pc to another.

Attached Image
Attached Image
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages (2) [1] 2  Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google