A PICI8F4620 has the following specifications RAM 3942 x 8 R
Solution
1a] For assembly it is clear - PIC18 has an instruction set composed of 16 and 32bit long instructions. So 1Kb can contain at 1024/2=512 instructions at most.
1b] As for C - it can be one line, or it can be a thousand. Depending on the constructs and optimization.
