swapan
Full Member level 4
Friends,
Being a novice I place a curiosity to experts regarding use of MPLAB IDE. I undertake small programs for hobby. The codes are developed on MPLAB IDE v8.3 and using assembly language. Recently I came across an older version of MPLAB which is v5.7. In that version there are some functions which seemed to me very interesting and useful.
Firstly, there is provision of defining equates like;
#define start PORTA,2
thus using the 'start' equate instead of PORTA,2 in the rest of the program.
Secondly, provision for use of macros are there like;
Later simply calling this Macro and giving the value of a and b purpose could be served number of times.
Thirdly, there is provision of choosing Case Sensitivity. I mean, in 5.7 version, if case sensitivity is turned off, while building, it will not matter which case has been used to write the code. But in case v8.3 error will be shown if registers, bits etc. are written in lower case or lower/upper mixed character.
I like to know if all the above provisions are there in MPLAB v8.3. If yes, where to see and how to use.
regards
swapan
Being a novice I place a curiosity to experts regarding use of MPLAB IDE. I undertake small programs for hobby. The codes are developed on MPLAB IDE v8.3 and using assembly language. Recently I came across an older version of MPLAB which is v5.7. In that version there are some functions which seemed to me very interesting and useful.
Firstly, there is provision of defining equates like;
#define start PORTA,2
thus using the 'start' equate instead of PORTA,2 in the rest of the program.
Secondly, provision for use of macros are there like;
Code:
selfcheck macro a, b
movlw b
xorwf a,0
btfsc status,z
endm
Later simply calling this Macro and giving the value of a and b purpose could be served number of times.
Thirdly, there is provision of choosing Case Sensitivity. I mean, in 5.7 version, if case sensitivity is turned off, while building, it will not matter which case has been used to write the code. But in case v8.3 error will be shown if registers, bits etc. are written in lower case or lower/upper mixed character.
I like to know if all the above provisions are there in MPLAB v8.3. If yes, where to see and how to use.
regards
swapan