Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

조건부 분기/반복문 구현 #11

Closed
5 tasks done
ghost opened this issue Jun 12, 2023 · 0 comments · Fixed by #25
Closed
5 tasks done

조건부 분기/반복문 구현 #11

ghost opened this issue Jun 12, 2023 · 0 comments · Fixed by #25
Labels
enhancement New feature or request
Milestone

Comments

@ghost
Copy link

ghost commented Jun 12, 2023

  • 조건부 분기문
  • 조건부 반복문
명령어 문법 기능 예시
egu... egu[u[u[...]]] u의 갯수에 해당하는 Checkpoint를 현재 PC로 지정한다 eguuu -> CKPT #3 = PC
eru... eru[u[u[...]]] Acc != 0일 때, u의 갯수에 해당하는 Checkpoint의 값으로 Jump한다 eruuu -> PC = CKPT #3

테스트 항목

  • 사용자가 입력한 값이 0인지 여부에 따라 메모리에 다른 값을 입력
  • 사용자가 어떤 양수 값을 입력했든지, 메모리에 접근하지 않고, Acc를 0으로 만들기
  • 사용자가 어떤 값을 입력했든지 Acc를 0으로 만들기
@ghost ghost added the enhancement New feature or request label Jun 12, 2023
@ghost ghost added this to the 2nd sprint milestone Jun 12, 2023
@ghost ghost self-assigned this Jul 9, 2023
ghost pushed a commit that referenced this issue Jul 9, 2023
ghost pushed a commit that referenced this issue Jul 14, 2023
@ghost ghost linked a pull request Jul 14, 2023 that will close this issue
@ghost ghost closed this as completed Jul 14, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants