コード例 #1
0
ファイル: stack.c プロジェクト: HuangZhenQiu/NanoKong
// peek into the stack and expand 15->16 bits
nvm_int_t stack_peek_int(u08_t index) {
  return nvm_stack2int(sp[-index]);
}
コード例 #2
0
// pop an item from the vm stack
nvm_int_t stack_pop_int(void) {
  return nvm_stack2int(*(current_task->j_sp--));
}
コード例 #3
0
ファイル: stack.c プロジェクト: HuangZhenQiu/NanoKong
// pop an item from the vm stack
nvm_int_t stack_pop_int(void) {
  return nvm_stack2int(*(sp--));
}
コード例 #4
0
// peek into the stack and expand 15->16 bits
nvm_int_t stack_peek_int(u08_t index) {
  return nvm_stack2int(current_task->j_sp[-index]);
}