You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
505 B
17 lines
505 B
/**
|
|
* Forth stack operations
|
|
*
|
|
* Created on 2021/11/13.
|
|
*/
|
|
|
|
#ifndef FORTH_FH_STACK_H
|
|
#define FORTH_FH_STACK_H
|
|
|
|
enum fh_error ds_pop(struct fh_thread_s *fh, uint32_t *out);
|
|
enum fh_error rs_pop(struct fh_thread_s *fh, uint32_t *out);
|
|
enum fh_error cs_pop(struct fh_thread_s *fh, uint32_t *out);
|
|
enum fh_error ds_push(struct fh_thread_s *fh, uint32_t in);
|
|
enum fh_error rs_push(struct fh_thread_s *fh, uint32_t in);
|
|
enum fh_error cs_push(struct fh_thread_s *fh, uint32_t in);
|
|
|
|
#endif //FORTH_FH_STACK_H
|
|
|