Search found 388 matches

Return to advanced search

Re: SYSTEM Extensions

The reason we provided SYSTEM.EMIT was to enable you to implement rarely-used system functions like this for yourself. There was a similar, but different, request in the past - see the topic titled SYSTEM function for special register for more information.
by cfbsoftware
Wed Jun 19, 2019 1:16 pm
 
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: SYSTEM Extensions
Replies: 1
Views: 46

Re: String Literal Parameter

I agree that is getting to be unwieldy. If all or some of those parameters are closely-related I recommend grouping them into a record type. Also, is there a good reason why ProcessID is a 3-character (+null) string and not an integer named constant?
by cfbsoftware
Sat Jun 15, 2019 5:13 am
 
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: String Literal Parameter
Replies: 4
Views: 150

Re: Syntax Colouring Limit?

Make sure you are logged in as an administrator when you copy the file - Windows doesn't like you manually storing files in the Program Files folder. Double-check that it has replaced the original. Replace the copy in the Program Files folder for your Personal Edition as well just to make sure. Alte...
by cfbsoftware
Fri Jun 14, 2019 1:38 pm
 
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: Syntax Colouring Limit?
Replies: 4
Views: 223

Re: String Literal Parameter

Good question. It appears that a string literal is not considered to be an array in this context. This is even more evident if you try the statement: i := LEN("id"); An exception is that you can pass a string literal when the parameter is an open array. That is normally how literal strings...
by cfbsoftware
Fri Jun 14, 2019 1:19 pm
 
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: String Literal Parameter
Replies: 4
Views: 150

Re: Syntax Colouring Limit?

We did only allow for two levels of nested comments when we designed the syntax-colouring feature of Astrobe. If you want to increase this limit to three levels, unzip the attached file and replace the corresponding file, Oberon.xml , in the Program Files folder where your Astrobe executable is loca...
by cfbsoftware
Wed Jun 12, 2019 12:29 pm
 
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: Syntax Colouring Limit?
Replies: 4
Views: 223

Re: Startup Sequence

Yes. The initialisation section (i.e. any code between BEGIN and END at the end of a module) of each Module is executed in turn in the order as listed in the map file. The initialisation section of the main module of the application (the one that imports Main) is the last to be executed. This usuall...
by cfbsoftware
Fri Jun 07, 2019 12:46 pm
 
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: Startup Sequence
Replies: 1
Views: 116

Re: Initialisation of Pointer Variables

The implementation effort (and subsequent runtime overheads) required for such are scheme are not insignificant. Keep in mind that pointers can exist as global variables, local variables, register variables, fields of records, dynamic lists and elements of arrays (both global and local). The locatio...
by cfbsoftware
Sat May 25, 2019 5:19 am
 
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: Initialisation of Pointer Variables
Replies: 2
Views: 174

Re: push {}

Nice work! Read up on how the Frame Pointer is used by the Oberon compiler to check if there are any flaws or hidden issues. This is detailed in An Oberon Compiler for the ARM Processor which you can download from the Oberon page on Niklaus Wirth's website. The odd addresses are explained in Section...
by cfbsoftware
Sun May 19, 2019 5:03 am
 
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: push {}
Replies: 7
Views: 513

Re: push {}

Thank you for your request. It is already one of the features on our list of prospective enhancements. In the meantime, if you require this information to assist with diagnosing runtime errors, refer to Section 4.5 Diagnosing System Exceptions in the Oberon for Cortex-M documents. Given the followin...
by cfbsoftware
Thu May 16, 2019 11:20 am
 
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: push {}
Replies: 7
Views: 513

Re: push {}

The disassembler generates the listing 'on the fly' as each instruction is generated. There are a few situations (this is one of them) where the instruction that is created initially is just a placeholder which is patched retrospectively. Push only needs to save the registers that are used but that ...
by cfbsoftware
Tue May 14, 2019 11:34 am
 
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: push {}
Replies: 7
Views: 513
Next

Return to advanced search

cron