# How to generate a C64 .prg

You can generate .PRG files for C64 emulators directly, just use these directives:

```
.PRAGMA PRG – says “make .PRG instead of .HEX”  
.ORG $0810 – or higher  
.ENT $ – for “enter here”
```

Here is a short video tutorial (use fullscreen and HD for best quality).

[![Here is a short video tutorial (use fullscreen and HD for best quality).](https://img.youtube.com/vi/LwnarnR5Z-4/0.jpg)](https://www.youtube.com/watch?v=LwnarnR5Z-4)
